Mercurial > geeqie.yaz
comparison src/bar_comment.c @ 1295:8c59e6e50bd8
Fix up few compilation warnings.
author | zas_ |
---|---|
date | Sun, 15 Feb 2009 15:56:48 +0000 |
parents | 50ae02a4a675 |
children | 55ea4962887a |
comparison
equal
deleted
inserted
replaced
1294:7ac9664242b2 | 1295:8c59e6e50bd8 |
---|---|
161 static void bar_pane_comment_populate_popup(GtkTextView *textview, GtkMenu *menu, gpointer data) | 161 static void bar_pane_comment_populate_popup(GtkTextView *textview, GtkMenu *menu, gpointer data) |
162 { | 162 { |
163 PaneCommentData *pcd = data; | 163 PaneCommentData *pcd = data; |
164 | 164 |
165 menu_item_add_divider(GTK_WIDGET(menu)); | 165 menu_item_add_divider(GTK_WIDGET(menu)); |
166 menu_item_add_stock(GTK_WIDGET(menu), _("Add text to selected files"), GTK_STOCK_ADD, G_CALLBACK(bar_pane_comment_sel_add_cb), data); | 166 menu_item_add_stock(GTK_WIDGET(menu), _("Add text to selected files"), GTK_STOCK_ADD, G_CALLBACK(bar_pane_comment_sel_add_cb), pcd); |
167 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); | 167 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); |
168 } | 168 } |
169 | 169 |
170 | 170 |
171 static void bar_pane_comment_close(GtkWidget *bar) | 171 static void bar_pane_comment_close(GtkWidget *bar) |