diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-04-01 10:05:46 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-04-01 10:05:46 +0000 |
commit | 1a686b3d90310808f240a2a50801c8a99b40b115 (patch) | |
tree | 64f9d1f5f73cf9a5920a1bbbc6cc666c5b6876e7 | |
parent | b0a102d6424a4503e04d4077ee37fc5916df7c62 (diff) | |
download | gnunet-gtk-1a686b3d90310808f240a2a50801c8a99b40b115.tar.gz gnunet-gtk-1a686b3d90310808f240a2a50801c8a99b40b115.zip |
-making GNS option visible again, fixing compiler errors and warnings
-rw-r--r-- | contrib/gnunet_setup_gtk_main_window.glade | 1 | ||||
-rw-r--r-- | src/fs/gnunet-fs-gtk_advertise-pseudonym.c | 6 | ||||
-rw-r--r-- | src/gns/gnunet-gns-gtk.c | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/contrib/gnunet_setup_gtk_main_window.glade b/contrib/gnunet_setup_gtk_main_window.glade index b6c3fe80..fd11638d 100644 --- a/contrib/gnunet_setup_gtk_main_window.glade +++ b/contrib/gnunet_setup_gtk_main_window.glade | |||
@@ -229,6 +229,7 @@ | |||
229 | <child> | 229 | <child> |
230 | <object class="GtkCheckButton" id="GNUNET_setup_general_services_gns_checkbutton"> | 230 | <object class="GtkCheckButton" id="GNUNET_setup_general_services_gns_checkbutton"> |
231 | <property name="label" translatable="yes">GNS</property> | 231 | <property name="label" translatable="yes">GNS</property> |
232 | <property name="visible">True</property> | ||
232 | <property name="use_action_appearance">False</property> | 233 | <property name="use_action_appearance">False</property> |
233 | <property name="can_focus">True</property> | 234 | <property name="can_focus">True</property> |
234 | <property name="receives_default">False</property> | 235 | <property name="receives_default">False</property> |
diff --git a/src/fs/gnunet-fs-gtk_advertise-pseudonym.c b/src/fs/gnunet-fs-gtk_advertise-pseudonym.c index 42ab0ca8..8cec9a82 100644 --- a/src/fs/gnunet-fs-gtk_advertise-pseudonym.c +++ b/src/fs/gnunet-fs-gtk_advertise-pseudonym.c | |||
@@ -38,12 +38,12 @@ enum FS_SelectPseudonymModelColumns | |||
38 | /** | 38 | /** |
39 | * A gchararray | 39 | * A gchararray |
40 | */ | 40 | */ |
41 | FS_SELECT_PSEUDONYM_NAMESPACE_NAME = 0, | 41 | FS_SELECT_PSEUDONYM_NAMESPACE_MC_NAME = 0, |
42 | 42 | ||
43 | /** | 43 | /** |
44 | * A gpointer | 44 | * A gpointer |
45 | */ | 45 | */ |
46 | FS_SELECT_PSEUDONYM_NAMESPACE_HANDLE = 1, | 46 | FS_SELECT_PSEUDONYM_NAMESPACE_MC_HANDLE = 1, |
47 | }; | 47 | }; |
48 | 48 | ||
49 | 49 | ||
@@ -238,7 +238,7 @@ GNUNET_GTK_select_pseudonym_dialog_delete_event_cb (GtkWidget *widget, | |||
238 | struct GNUNET_FS_Namespace *nso; | 238 | struct GNUNET_FS_Namespace *nso; |
239 | 239 | ||
240 | gtk_tree_model_get (tm, &iter, | 240 | gtk_tree_model_get (tm, &iter, |
241 | FS_SELECT_PSEUDONYM_NAMESPACE_HANDLE, &nso, -1); | 241 | FS_SELECT_PSEUDONYM_NAMESPACE_MC_HANDLE, &nso, -1); |
242 | GNUNET_FS_namespace_delete (nso, GNUNET_NO); | 242 | GNUNET_FS_namespace_delete (nso, GNUNET_NO); |
243 | } | 243 | } |
244 | while (gtk_tree_model_iter_next (tm, &iter)); | 244 | while (gtk_tree_model_iter_next (tm, &iter)); |
diff --git a/src/gns/gnunet-gns-gtk.c b/src/gns/gnunet-gns-gtk.c index afd3a90a..29a6897e 100644 --- a/src/gns/gnunet-gns-gtk.c +++ b/src/gns/gnunet-gns-gtk.c | |||
@@ -315,7 +315,7 @@ GNUNET_GNS_GTK_zone_open_dialog_response_cb (GtkDialog * dialog, | |||
315 | 315 | ||
316 | /* FIXME: move to new zone 'filename' */ | 316 | /* FIXME: move to new zone 'filename' */ |
317 | fprintf (stderr, "Got zone `%s'\n", filename); | 317 | fprintf (stderr, "Got zone `%s'\n", filename); |
318 | 318 | gns++; // fix compiler warning | |
319 | GNUNET_free (filename); | 319 | GNUNET_free (filename); |
320 | } | 320 | } |
321 | 321 | ||