summaryrefslogtreecommitdiff
path: root/gtk/gtktoggletoolbutton.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/gtktoggletoolbutton.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/gtktoggletoolbutton.c')
-rw-r--r--gtk/gtktoggletoolbutton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktoggletoolbutton.c b/gtk/gtktoggletoolbutton.c
index 40afdd9803..e4b57c62be 100644
--- a/gtk/gtktoggletoolbutton.c
+++ b/gtk/gtktoggletoolbutton.c
@@ -218,7 +218,7 @@ menu_item_activated (GtkWidget *menu_item,
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (_gtk_tool_button_get_button (tool_button)),
toggle_tool_button->priv->active);
- g_signal_emit (G_OBJECT (toggle_tool_button), toggle_signals[TOGGLED], 0);
+ g_signal_emit (toggle_tool_button, toggle_signals[TOGGLED], 0);
}
}
@@ -241,7 +241,7 @@ button_toggled (GtkWidget *widget,
toggle_tool_button->priv->active);
}
- g_signal_emit (G_OBJECT (toggle_tool_button), toggle_signals[TOGGLED], 0);
+ g_signal_emit (toggle_tool_button, toggle_signals[TOGGLED], 0);
}
}