demos/gtk-demo/appwindow.c reduce compiler warnings

2001-11-16  Sven Neumann  <sven@gimp.org>

	* demos/gtk-demo/appwindow.c
	* demos/gtk-demo/menus.c: reduce compiler warnings
This commit is contained in:
Sven Neumann 2001-11-16 11:50:04 +00:00 committed by Sven Neumann
parent 89baa6c002
commit 027884163b
9 changed files with 37 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2001-11-16 Sven Neumann <sven@gimp.org>
* demos/gtk-demo/appwindow.c
* demos/gtk-demo/menus.c: reduce compiler warnings
Thu Nov 15 19:47:09 2001 Owen Taylor <otaylor@redhat.com>
* demos/gtk-demo/main.c (button_press_event_cb): Remove

View File

@ -1,3 +1,8 @@
2001-11-16 Sven Neumann <sven@gimp.org>
* demos/gtk-demo/appwindow.c
* demos/gtk-demo/menus.c: reduce compiler warnings
Thu Nov 15 19:47:09 2001 Owen Taylor <otaylor@redhat.com>
* demos/gtk-demo/main.c (button_press_event_cb): Remove

View File

@ -1,3 +1,8 @@
2001-11-16 Sven Neumann <sven@gimp.org>
* demos/gtk-demo/appwindow.c
* demos/gtk-demo/menus.c: reduce compiler warnings
Thu Nov 15 19:47:09 2001 Owen Taylor <otaylor@redhat.com>
* demos/gtk-demo/main.c (button_press_event_cb): Remove

View File

@ -1,3 +1,8 @@
2001-11-16 Sven Neumann <sven@gimp.org>
* demos/gtk-demo/appwindow.c
* demos/gtk-demo/menus.c: reduce compiler warnings
Thu Nov 15 19:47:09 2001 Owen Taylor <otaylor@redhat.com>
* demos/gtk-demo/main.c (button_press_event_cb): Remove

View File

@ -1,3 +1,8 @@
2001-11-16 Sven Neumann <sven@gimp.org>
* demos/gtk-demo/appwindow.c
* demos/gtk-demo/menus.c: reduce compiler warnings
Thu Nov 15 19:47:09 2001 Owen Taylor <otaylor@redhat.com>
* demos/gtk-demo/main.c (button_press_event_cb): Remove

View File

@ -1,3 +1,8 @@
2001-11-16 Sven Neumann <sven@gimp.org>
* demos/gtk-demo/appwindow.c
* demos/gtk-demo/menus.c: reduce compiler warnings
Thu Nov 15 19:47:09 2001 Owen Taylor <otaylor@redhat.com>
* demos/gtk-demo/main.c (button_press_event_cb): Remove

View File

@ -1,3 +1,8 @@
2001-11-16 Sven Neumann <sven@gimp.org>
* demos/gtk-demo/appwindow.c
* demos/gtk-demo/menus.c: reduce compiler warnings
Thu Nov 15 19:47:09 2001 Owen Taylor <otaylor@redhat.com>
* demos/gtk-demo/main.c (button_press_event_cb): Remove

View File

@ -213,7 +213,7 @@ do_appwindow (void)
*/
accel_group = gtk_accel_group_new ();
gtk_window_add_accel_group (window, accel_group);
gtk_window_add_accel_group (GTK_WINDOW (window), accel_group);
g_object_unref (accel_group);
item_factory = gtk_item_factory_new (GTK_TYPE_MENU_BAR, "<main>", accel_group);

View File

@ -98,7 +98,7 @@ do_menus (void)
G_CALLBACK (gtk_true), NULL);
accel_group = gtk_accel_group_new ();
gtk_window_add_accel_group (window, accel_group);
gtk_window_add_accel_group (GTK_WINDOW (window), accel_group);
gtk_window_set_title (GTK_WINDOW (window), "menus");
gtk_container_set_border_width (GTK_CONTAINER (window), 0);