]> Pileus Git - ~andy/gtk/commitdiff
change_orientation() should return void, remove unused variable in
authorManish Singh <yosh@gimp.org>
Thu, 7 Jul 2005 00:25:18 +0000 (00:25 +0000)
committerManish Singh <yosh@src.gnome.org>
Thu, 7 Jul 2005 00:25:18 +0000 (00:25 +0000)
2005-07-06  Manish Singh  <yosh@gimp.org>

        * demos/gtk-demo/menus.c: change_orientation() should return void,
        remove unused variable in do_menus().

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
demos/gtk-demo/menus.c

index 335045915d4f850432f5d19d485d14722a98069c..86162591a5d796f56fdf3bcd1567b5452e64d532 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-06  Manish Singh  <yosh@gimp.org>
+
+       * demos/gtk-demo/menus.c: change_orientation() should return void,
+       remove unused variable in do_menus().
+
 2005-07-06  Tor Lillqvist  <tml@novell.com>
 
        * gdk/win32/gdkcursor-win32.c
index 335045915d4f850432f5d19d485d14722a98069c..86162591a5d796f56fdf3bcd1567b5452e64d532 100644 (file)
@@ -1,3 +1,8 @@
+2005-07-06  Manish Singh  <yosh@gimp.org>
+
+       * demos/gtk-demo/menus.c: change_orientation() should return void,
+       remove unused variable in do_menus().
+
 2005-07-06  Tor Lillqvist  <tml@novell.com>
 
        * gdk/win32/gdkcursor-win32.c
index 335045915d4f850432f5d19d485d14722a98069c..86162591a5d796f56fdf3bcd1567b5452e64d532 100644 (file)
@@ -1,3 +1,8 @@
+2005-07-06  Manish Singh  <yosh@gimp.org>
+
+       * demos/gtk-demo/menus.c: change_orientation() should return void,
+       remove unused variable in do_menus().
+
 2005-07-06  Tor Lillqvist  <tml@novell.com>
 
        * gdk/win32/gdkcursor-win32.c
index 62e68118591277b20215bc5c42fa843ca130eadc..ddb4cf462f4c9e649419bc60f612b6c4774f6626 100644 (file)
@@ -70,7 +70,7 @@ create_menu (gint     depth,
   return menu;
 }
 
-static gboolean
+static void
 change_orientation (GtkWidget *button,
                     GtkWidget *menubar)
 {
@@ -133,7 +133,6 @@ do_menus (GtkWidget *do_widget)
       GtkWidget *menu;
       GtkWidget *menuitem;
       GtkAccelGroup *accel_group;
-      GdkEventMask events;
       
       window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
       gtk_window_set_screen (GTK_WINDOW (window),