diff options
author | Manish Singh <yosh@gimp.org> | 2003-02-28 01:45:51 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 2003-02-28 01:45:51 +0000 |
commit | dd74be94c69edd6c5827d04a1cfba961972a27c5 (patch) | |
tree | bf2884db7c5d37e74d598fe3b7a8997006b9ddc5 /gtk/gtkmenu.c | |
parent | b355dfeaf3ec585a5373aaad1bf0fedd84f37c6b (diff) | |
download | gtk+-dd74be94c69edd6c5827d04a1cfba961972a27c5.tar.gz |
demos/gtk-demo/main.c demos/gtk-demo/tree_store.c gdk/x11/gdkscreen-x11.c
Thu Feb 27 17:44:24 2003 Manish Singh <yosh@gimp.org>
* demos/gtk-demo/main.c
* demos/gtk-demo/tree_store.c
* gdk/x11/gdkscreen-x11.c
* gtk/gtkcellrenderertoggle.c
* gtk/gtkcolorsel.c
* gtk/gtkdnd.c
* gtk/gtkeditable.c
* gtk/gtkentry.c
* gtk/gtkmenu.c
* gtk/gtkmenubar.c
* gtk/gtkmenuitem.c
* gtk/gtkmenushell.c
* gtk/gtkrc.c
* gtk/gtksettings.c
* gtk/gtkstyle.c
* gtk/gtktextbuffer.c
* gtk/gtktextview.c
* gtk/gtktreeviewcolumn.c
* tests/testgtk.c
* tests/testtext.c
* tests/testtreeedit.c
* tests/testtreefocus.c
* tests/testtreeview.c: remove unnecessary G_OBJECT() casts.
Diffstat (limited to 'gtk/gtkmenu.c')
-rw-r--r-- | gtk/gtkmenu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c index b77a1c9666..16346263db 100644 --- a/gtk/gtkmenu.c +++ b/gtk/gtkmenu.c @@ -1998,7 +1998,7 @@ gtk_menu_key_press (GtkWidget *widget, display = gtk_widget_get_display (widget); - g_object_get (G_OBJECT (gtk_widget_get_settings (widget)), + g_object_get (gtk_widget_get_settings (widget), "gtk-menu-bar-accel", &accel, "gtk-can-change-accels", &can_change_accels, NULL); @@ -2493,7 +2493,7 @@ draw_stay_up_triangle (GdkWindow *window, clipbox.x, clipbox.y, clipbox.width, clipbox.height); - g_object_unref (G_OBJECT (ugly_gc)); + g_object_unref (ugly_gc); } #endif @@ -2614,7 +2614,7 @@ gtk_menu_set_submenu_navigation_region (GtkMenu *menu, menu->navigation_region = new_region; } - g_object_get (G_OBJECT (gtk_widget_get_settings (GTK_WIDGET (menu))), + g_object_get (gtk_widget_get_settings (GTK_WIDGET (menu)), "gtk-menu-popdown-delay", &popdown_delay, NULL); @@ -3096,7 +3096,7 @@ gtk_menu_get_popup_delay (GtkMenuShell *menu_shell) { gint popup_delay; - g_object_get (G_OBJECT (gtk_widget_get_settings (GTK_WIDGET (menu_shell))), + g_object_get (gtk_widget_get_settings (GTK_WIDGET (menu_shell)), "gtk-menu-popup-delay", &popup_delay, NULL); |