Revision: 2057 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2057&view=re... Author: frlan Date: 2011-04-25 06:23:11 +0000 (Mon, 25 Apr 2011)
Log Message: ----------- Codenave: Remove some unused code
Modified Paths: -------------- trunk/geany-plugins/codenav/src/codenavigation.c
Modified: trunk/geany-plugins/codenav/src/codenavigation.c =================================================================== --- trunk/geany-plugins/codenav/src/codenavigation.c 2011-04-24 23:43:56 UTC (rev 2056) +++ trunk/geany-plugins/codenav/src/codenavigation.c 2011-04-25 06:23:11 UTC (rev 2057) @@ -31,8 +31,6 @@
/************************* Global variables ***************************/
-static GtkWidget* edit_menu_item_separator = NULL; - /* These items are set by Geany before plugin_init() is called. */ GeanyPlugin *geany_plugin; GeanyData *geany_data; @@ -65,14 +63,8 @@ */ void plugin_init(GeanyData *data) { - GtkWidget* edit_menu = ui_lookup_widget(geany->main_widgets->window, "edit1_menu"); - log_func();
- /* Add a separator to the "Edit" menu : */ - edit_menu_item_separator = gtk_separator_menu_item_new(); - gtk_container_add(GTK_CONTAINER(edit_menu), edit_menu_item_separator); - /* Initialize the features */ switch_head_impl_init(); goto_file_init(); @@ -113,9 +105,6 @@ /* Cleanup the features */ goto_file_cleanup(); switch_head_impl_cleanup(); - - /* Remove the separator in the "Edit" menu */ - gtk_widget_destroy(edit_menu_item_separator); }
/* ---------------------------------------------------------------------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org