summaryrefslogtreecommitdiff
path: root/gtk/gtkeditable.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/gtkeditable.c
parentb355dfeaf3ec585a5373aaad1bf0fedd84f37c6b (diff)
downloadgtk+-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/gtkeditable.c')
-rw-r--r--gtk/gtkeditable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkeditable.c b/gtk/gtkeditable.c
index 771a635492..d15052187f 100644
--- a/gtk/gtkeditable.c
+++ b/gtk/gtkeditable.c
@@ -215,7 +215,7 @@ gtk_editable_set_editable (GtkEditable *editable,
{
g_return_if_fail (GTK_IS_EDITABLE (editable));
- g_object_set (G_OBJECT (editable),
+ g_object_set (editable,
"editable", is_editable != FALSE,
NULL);
}
@@ -236,7 +236,7 @@ gtk_editable_get_editable (GtkEditable *editable)
g_return_val_if_fail (GTK_IS_EDITABLE (editable), FALSE);
- g_object_get (G_OBJECT (editable), "editable", &value, NULL);
+ g_object_get (editable, "editable", &value, NULL);
return value;
}