Revision: 1998 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1998&view=re... Author: frlan Date: 2011-03-19 14:15:42 +0000 (Sat, 19 Mar 2011)
Log Message: ----------- Tableconvert: Fix a compiler warning dues some wrong parameters
Modified Paths: -------------- trunk/geany-plugins/tableconvert/src/tableconvert.c
Modified: trunk/geany-plugins/tableconvert/src/tableconvert.c =================================================================== --- trunk/geany-plugins/tableconvert/src/tableconvert.c 2011-03-19 13:52:35 UTC (rev 1997) +++ trunk/geany-plugins/tableconvert/src/tableconvert.c 2011-03-19 14:15:42 UTC (rev 1998) @@ -192,6 +192,10 @@ _("Convert selection to table"), NULL); }
+void cb_table_convert(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GNUC_UNUSED gpointer gdata) +{ + convert_to_table(TRUE); +}
void plugin_init(GeanyData *data) { @@ -204,10 +208,9 @@ gtk_container_add(GTK_CONTAINER(geany->main_widgets->tools_menu), main_menu_item); ui_widget_set_tooltip_text(main_menu_item, _("Converts current marked list to a table.")); - g_signal_connect(G_OBJECT(main_menu_item), "activate", G_CALLBACK(convert_to_table), TRUE); + g_signal_connect(G_OBJECT(main_menu_item), "activate", G_CALLBACK(convert_to_table), NULL); gtk_widget_show_all(main_menu_item); ui_add_document_sensitive(main_menu_item); - }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.