diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk-main_window_namespace.c')
-rw-r--r-- | src/fs/gnunet-fs-gtk-main_window_namespace.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/fs/gnunet-fs-gtk-main_window_namespace.c b/src/fs/gnunet-fs-gtk-main_window_namespace.c index b2ca9b42..3af3845d 100644 --- a/src/fs/gnunet-fs-gtk-main_window_namespace.c +++ b/src/fs/gnunet-fs-gtk-main_window_namespace.c | |||
@@ -134,31 +134,6 @@ namespace_selector_window_leave_notify_event_cb (GtkWidget * widget, | |||
134 | } | 134 | } |
135 | 135 | ||
136 | 136 | ||
137 | static gboolean | ||
138 | GNUNET_GTK_get_tree_string (GtkTreeView * treeview, GtkTreePath * treepath, | ||
139 | guint column, gchar ** value) | ||
140 | { | ||
141 | gboolean ok; | ||
142 | GtkTreeModel *model; | ||
143 | |||
144 | model = gtk_tree_view_get_model (treeview); | ||
145 | if (!model) | ||
146 | return FALSE; | ||
147 | |||
148 | GtkTreeIter iter; | ||
149 | |||
150 | ok = gtk_tree_model_get_iter (model, &iter, treepath); | ||
151 | if (!ok) | ||
152 | return FALSE; | ||
153 | |||
154 | *value = NULL; | ||
155 | gtk_tree_model_get (model, &iter, column, value, -1); | ||
156 | if (*value == NULL) | ||
157 | return FALSE; | ||
158 | return TRUE; | ||
159 | } | ||
160 | |||
161 | |||
162 | 137 | ||
163 | gboolean | 138 | gboolean |
164 | get_selected_namespace_treepath_iter_model_widget (GtkBuilder * builder, | 139 | get_selected_namespace_treepath_iter_model_widget (GtkBuilder * builder, |