Revision: 2093 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2093&view=re... Author: eht16 Date: 2011-06-05 13:11:21 +0000 (Sun, 05 Jun 2011)
Log Message: ----------- Remove unused code (patch by Eugene Arshinov, thanks)
Modified Paths: -------------- trunk/geany-plugins/addons/src/ao_doclist.c
Modified: trunk/geany-plugins/addons/src/ao_doclist.c =================================================================== --- trunk/geany-plugins/addons/src/ao_doclist.c 2011-05-29 23:16:58 UTC (rev 2092) +++ trunk/geany-plugins/addons/src/ao_doclist.c 2011-06-05 13:11:21 UTC (rev 2093) @@ -118,8 +118,6 @@ static void ao_popup_position_menu(GtkMenu *menu, gint *x, gint *y, gboolean *push_in, gpointer data) { gint wx, wy; - gint menu_width; - GtkRequisition menu_req; GtkRequisition widget_req; GtkWidget *widget = data; gint widget_height; @@ -133,9 +131,7 @@ } else gdk_window_get_origin(widget->window, &wx, &wy); - gtk_widget_size_request(GTK_WIDGET(menu), &menu_req); gtk_widget_size_request(widget, &widget_req); - menu_width = menu_req.width; widget_height = widget_req.height; /* Better than allocation.height */
/* Calculate menu position */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.