summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderertoggle.c
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2003-02-28 01:45:51 +0000
committerManish Singh <yosh@src.gnome.org>2003-02-28 01:45:51 +0000
commitdd74be94c69edd6c5827d04a1cfba961972a27c5 (patch)
treebf2884db7c5d37e74d598fe3b7a8997006b9ddc5 /gtk/gtkcellrenderertoggle.c
parentb355dfeaf3ec585a5373aaad1bf0fedd84f37c6b (diff)
downloadgdk-pixbuf-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/gtkcellrenderertoggle.c')
-rw-r--r--gtk/gtkcellrenderertoggle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c
index 283bbd6d7..ee7422b23 100644
--- a/gtk/gtkcellrenderertoggle.c
+++ b/gtk/gtkcellrenderertoggle.c
@@ -463,5 +463,5 @@ gtk_cell_renderer_toggle_set_active (GtkCellRendererToggle *toggle,
{
g_return_if_fail (GTK_IS_CELL_RENDERER_TOGGLE (toggle));
- g_object_set (G_OBJECT (toggle), "active", setting?TRUE:FALSE, NULL);
+ g_object_set (toggle, "active", setting ? TRUE : FALSE, NULL);
}