Mercurial > geeqie.yaz
comparison src/bar_comment.c @ 1712:7f91f906f9c2
Comment out unused functions, silenting related compilation warnings.
author | zas_ |
---|---|
date | Mon, 07 Sep 2009 08:24:09 +0000 |
parents | 5f49f305a6b6 |
children |
comparison
equal
deleted
inserted
replaced
1711:f5eb4241a827 | 1712:7f91f906f9c2 |
---|---|
187 menu_item_add_divider(GTK_WIDGET(menu)); | 187 menu_item_add_divider(GTK_WIDGET(menu)); |
188 menu_item_add_stock(GTK_WIDGET(menu), _("Add text to selected files"), GTK_STOCK_ADD, G_CALLBACK(bar_pane_comment_sel_add_cb), pcd); | 188 menu_item_add_stock(GTK_WIDGET(menu), _("Add text to selected files"), GTK_STOCK_ADD, G_CALLBACK(bar_pane_comment_sel_add_cb), pcd); |
189 menu_item_add_stock(GTK_WIDGET(menu), _("Replace existing text in selected files"), GTK_STOCK_CONVERT, G_CALLBACK(bar_pane_comment_sel_replace_cb), data); | 189 menu_item_add_stock(GTK_WIDGET(menu), _("Replace existing text in selected files"), GTK_STOCK_CONVERT, G_CALLBACK(bar_pane_comment_sel_replace_cb), data); |
190 } | 190 } |
191 | 191 |
192 | 192 #if 0 |
193 static void bar_pane_comment_close(GtkWidget *bar) | 193 static void bar_pane_comment_close(GtkWidget *bar) |
194 { | 194 { |
195 PaneCommentData *pcd; | 195 PaneCommentData *pcd; |
196 | 196 |
197 pcd = g_object_get_data(G_OBJECT(bar), "pane_data"); | 197 pcd = g_object_get_data(G_OBJECT(bar), "pane_data"); |
198 if (!pcd) return; | 198 if (!pcd) return; |
199 | 199 |
200 gtk_widget_destroy(pcd->comment_view); | 200 gtk_widget_destroy(pcd->comment_view); |
201 } | 201 } |
202 #endif | |
202 | 203 |
203 static void bar_pane_comment_destroy(GtkWidget *widget, gpointer data) | 204 static void bar_pane_comment_destroy(GtkWidget *widget, gpointer data) |
204 { | 205 { |
205 PaneCommentData *pcd = data; | 206 PaneCommentData *pcd = data; |
206 | 207 |