[gtk+] doc-shooter: Remove inappropriate menu usage



commit 52601e936d5719f15d564e0e7c08d46e327b9e49
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Jul 17 15:04:20 2013 -0400

    doc-shooter: Remove inappropriate menu usage

 docs/tools/widgets.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c
index a88a22d..1cbf35c 100644
--- a/docs/tools/widgets.c
+++ b/docs/tools/widgets.c
@@ -879,7 +879,7 @@ create_page_setup_dialog (void)
 static WidgetInfo *
 create_toolbar (void)
 {
-  GtkWidget *widget, *menu;
+  GtkWidget *widget;
   GtkToolItem *item;
 
   widget = gtk_toolbar_new ();
@@ -890,8 +890,6 @@ create_toolbar (void)
 
   item = gtk_tool_button_new (NULL, NULL);
   gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (item), "document-open");
-  menu = gtk_menu_new ();
-  gtk_menu_tool_button_set_menu (GTK_MENU_TOOL_BUTTON (item), menu);
   gtk_toolbar_insert (GTK_TOOLBAR (widget), item, -1);
 
   item = gtk_tool_button_new (NULL, NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]