summaryrefslogtreecommitdiff
path: root/gtk/gtkactiongroup.c
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2004-11-19 23:18:38 +0000
committerManish Singh <yosh@src.gnome.org>2004-11-19 23:18:38 +0000
commit60b30ff5136acffc66b9e4fe27fb2509011ca896 (patch)
tree73de26d8daab28fad8341e7774d583afabc98d11 /gtk/gtkactiongroup.c
parent3d325e30d90af932c29a7fa90c9dc44c87237905 (diff)
downloadgtk+-60b30ff5136acffc66b9e4fe27fb2509011ca896.tar.gz
gdk/linux-fb/gdkgc-fb.c gdk/win32/gdkgc-win32.c
Fri Nov 19 14:54:09 2004 Manish Singh <yosh@gimp.org> * gdk/linux-fb/gdkgc-fb.c * gdk/win32/gdkgc-win32.c * gdk/win32/gdkwindow-win32.c * gtk/gtkaboutdialog.c * gtk/gtkaction.c * gtk/gtkactiongroup.c * gtk/gtkcellrendererprogress.c * gtk/gtkcellview.c * gtk/gtkcolorbutton.c * gtk/gtkcombobox.c * gtk/gtkcomboboxentry.c * gtk/gtkentrycompletion.c * gtk/gtkfilechooserbutton.c * gtk/gtkmenutoolbutton.c * gtk/gtkrc.c * gtk/gtksettings.c * gtk/gtkstyle.c * gtk/gtktoggletoolbutton.c * gtk/gtktoolbutton.c * gtk/gtktoolitem.c * gtk/gtktreemodelfilter.c * gtk/gtktreeselection.c * gtk/gtktreeviewcolumn.c * gtk/gtkuimanager.c: get rid of unnecessary casts. * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property): cast away the const for g_value_set_enum. This is after the g_warning, so this is a hack to begin with. * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_set_property): add a cast to GTK_FILE_CHOOSER for impl here.
Diffstat (limited to 'gtk/gtkactiongroup.c')
-rw-r--r--gtk/gtkactiongroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkactiongroup.c b/gtk/gtkactiongroup.c
index 7b22d7ae6e..803c5ef7c9 100644
--- a/gtk/gtkactiongroup.c
+++ b/gtk/gtkactiongroup.c
@@ -546,7 +546,7 @@ gtk_action_group_add_action (GtkActionGroup *action_group,
g_hash_table_insert (action_group->private_data->actions,
g_strdup (gtk_action_get_name (action)),
g_object_ref (action));
- g_object_set (G_OBJECT (action), "action_group", action_group, NULL);
+ g_object_set (action, "action_group", action_group, NULL);
}
/**