[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r19626 - gnunet-gtk/src/fs
From: |
gnunet |
Subject: |
[GNUnet-SVN] r19626 - gnunet-gtk/src/fs |
Date: |
Thu, 2 Feb 2012 12:04:15 +0100 |
Author: grothoff
Date: 2012-02-02 12:04:15 +0100 (Thu, 02 Feb 2012)
New Revision: 19626
Modified:
gnunet-gtk/src/fs/gnunet-fs-gtk-main_window_file_publish.c
Log:
-dce
Modified: gnunet-gtk/src/fs/gnunet-fs-gtk-main_window_file_publish.c
===================================================================
--- gnunet-gtk/src/fs/gnunet-fs-gtk-main_window_file_publish.c 2012-02-02
11:02:41 UTC (rev 19625)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk-main_window_file_publish.c 2012-02-02
11:04:15 UTC (rev 19626)
@@ -1084,34 +1084,23 @@
struct
MainPublishingDialogContext *ctx)
{
struct EditPublishContext *cbargs;
- gint do_index;
char *short_fn;
- guint anonymity_level;
- guint priority;
struct GNUNET_FS_FileInformation *fip;
- guint64 abs_etime;
- guint replication_level;
GtkListStore *anon_liststore;
- anon_liststore = GTK_LIST_STORE (gtk_builder_get_object
(ctx->main_window_builder, "main_window_search_anonymity_liststore"));
-
+ anon_liststore = GTK_LIST_STORE (gtk_builder_get_object
(ctx->main_window_builder,
+
"main_window_search_anonymity_liststore"));
cbargs = GNUNET_malloc (sizeof (struct EditPublishContext));
cbargs->tm = ctx->file_info_treemodel;
- if (TRUE != gtk_tree_selection_get_selected (ctx->file_info_selection, NULL,
&cbargs->iter))
+ if (! gtk_tree_selection_get_selected (ctx->file_info_selection, NULL,
&cbargs->iter))
{
GNUNET_break (0);
GNUNET_free (cbargs);
return;
}
-
gtk_tree_model_get (ctx->file_info_treemodel, &cbargs->iter,
- 1, &do_index,
2, &short_fn,
- 3, &anonymity_level,
- 4, &priority,
5, &fip,
- 6, &abs_etime,
- 7, &replication_level,
-1);
/* FIXME: can we just give our anon_liststore out like this? What about
(unintended) sharing of state? */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r19626 - gnunet-gtk/src/fs,
gnunet <=