change_orientation() should return void, remove unused variable in

2005-07-06  Manish Singh  <yosh@gimp.org>

        * demos/gtk-demo/menus.c: change_orientation() should return void,
        remove unused variable in do_menus().
This commit is contained in:
Manish Singh 2005-07-07 00:25:18 +00:00 committed by Manish Singh
parent f7d40fafdc
commit 362f98246a
4 changed files with 16 additions and 2 deletions

View 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> 2005-07-06 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkcursor-win32.c * gdk/win32/gdkcursor-win32.c

View 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> 2005-07-06 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkcursor-win32.c * gdk/win32/gdkcursor-win32.c

View 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> 2005-07-06 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkcursor-win32.c * gdk/win32/gdkcursor-win32.c

View File

@ -70,7 +70,7 @@ create_menu (gint depth,
return menu; return menu;
} }
static gboolean static void
change_orientation (GtkWidget *button, change_orientation (GtkWidget *button,
GtkWidget *menubar) GtkWidget *menubar)
{ {
@ -133,7 +133,6 @@ do_menus (GtkWidget *do_widget)
GtkWidget *menu; GtkWidget *menu;
GtkWidget *menuitem; GtkWidget *menuitem;
GtkAccelGroup *accel_group; GtkAccelGroup *accel_group;
GdkEventMask events;
window = gtk_window_new (GTK_WINDOW_TOPLEVEL); window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_screen (GTK_WINDOW (window), gtk_window_set_screen (GTK_WINDOW (window),