gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r18831 - gnunet-gtk/src/fs


From: gnunet
Subject: [GNUnet-SVN] r18831 - gnunet-gtk/src/fs
Date: Mon, 26 Dec 2011 20:42:27 +0100

Author: grothoff
Date: 2011-12-26 20:42:27 +0100 (Mon, 26 Dec 2011)
New Revision: 18831

Modified:
   gnunet-gtk/src/fs/gnunet-fs-gtk-edit_publish_dialog.c
   gnunet-gtk/src/fs/gnunet-fs-gtk-main_window_file_publish.c
Log:
-fix #2037

Modified: gnunet-gtk/src/fs/gnunet-fs-gtk-edit_publish_dialog.c
===================================================================
--- gnunet-gtk/src/fs/gnunet-fs-gtk-edit_publish_dialog.c       2011-12-26 
19:32:02 UTC (rev 18830)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk-edit_publish_dialog.c       2011-12-26 
19:42:27 UTC (rev 18831)
@@ -915,7 +915,6 @@
   GtkImage *img;
   GdkPixbuf *pixbuf;
   int year;
-  time_t tp;
   GtkListStore *ls;
 
   ls = GTK_LIST_STORE (gtk_builder_get_object

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  2011-12-26 
19:32:02 UTC (rev 18830)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk-main_window_file_publish.c  2011-12-26 
19:42:27 UTC (rev 18831)
@@ -1628,7 +1628,7 @@
   name_utf8 = GNUNET_GTK_from_loc_to_utf8 ((char *) name);
   gtk_tree_store_insert_with_values (ts, &iter, NULL, G_MAXINT, 0, name_utf8, 
1,
                                      uc.ns, 2, NULL /* last-id */ ,
-                                     3, NULL /* last-uri */ ,
+                                     3, NULL /* last-uri (as string!) */ ,
                                      4, NULL /* meta */ ,
                                      5, NULL /* next-ID */ ,
                                      6, NULL /* last-description */ ,
@@ -1645,14 +1645,11 @@
 static void
 free_pseudonym_tree_store (GtkTreeModel * tm, GtkTreeIter * iter)
 {
-  struct GNUNET_FS_Uri *uri;
   struct GNUNET_CONTAINER_MetaData *meta;
   struct GNUNET_FS_Namespace *ns;
   GtkTreeIter child;
 
-  gtk_tree_model_get (tm, iter, 1, &ns, 3, &uri, 4, &meta, -1);
-  if (uri != NULL)
-    GNUNET_FS_uri_destroy (uri);
+  gtk_tree_model_get (tm, iter, 1, &ns, 4, &meta, -1);
   if (meta != NULL)
     GNUNET_CONTAINER_meta_data_destroy (meta);
   if (ns != NULL)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]