gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r10740: Don't add separator1 to the


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r10740: Don't add separator1 to the file menu twice. Fixes GTK complaint.
Date: Thu, 26 Mar 2009 09:02:06 +0100
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10740
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Thu 2009-03-26 09:02:06 +0100
message:
  Don't add separator1 to the file menu twice. Fixes GTK complaint.
modified:
  gui/gtk.cpp
=== modified file 'gui/gtk.cpp'
--- a/gui/gtk.cpp       2009-03-19 10:26:17 +0000
+++ b/gui/gtk.cpp       2009-03-26 08:02:06 +0000
@@ -675,9 +675,9 @@
 #endif
     createHelpMenu(GTK_WIDGET(_popup_menu));
 
-    GtkWidget *separator1 = gtk_separator_menu_item_new ();
-    gtk_widget_show (separator1);
-    gtk_container_add (GTK_CONTAINER (_popup_menu), separator1);
+    GtkWidget *separator1 = gtk_separator_menu_item_new();
+    gtk_widget_show(separator1);
+    gtk_container_add (GTK_CONTAINER(_popup_menu), separator1);
 
     /// The sound handler is initialized after the Gui is created, and
     /// may be disabled or enabled dynamically.
@@ -688,11 +688,10 @@
     gtk_widget_show(GTK_WIDGET(menusound));
     g_signal_connect(menusound, "activate", G_CALLBACK(menuSound), this);
 
-    GtkWidget *separator2 = gtk_separator_menu_item_new ();
-    gtk_widget_show (separator2);
-    gtk_container_add (GTK_CONTAINER (_popup_menu), separator2);
+    GtkWidget *separator2 = gtk_separator_menu_item_new();
+    gtk_widget_show(separator2);
+    gtk_container_add (GTK_CONTAINER(_popup_menu), separator2);
 
-    gtk_container_add (GTK_CONTAINER (_popup_menu), separator1);
     GtkWidget *quit = gtk_image_menu_item_new_from_stock("gtk-quit", 0);
     gtk_widget_show(quit);
     gtk_container_add(GTK_CONTAINER(_popup_menu), quit);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]