summaryrefslogtreecommitdiff
path: root/gtk/gtkscrolledwindow.c
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-02-28 23:48:40 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-02-28 23:48:40 +0000
commit656db08e101a9a86865e458513ff2f98f2b1228d (patch)
treeb22cb75bb9d21733198fb559a91290f57d3a77a1 /gtk/gtkscrolledwindow.c
parentdd74be94c69edd6c5827d04a1cfba961972a27c5 (diff)
downloadgtk+-656db08e101a9a86865e458513ff2f98f2b1228d.tar.gz
Replace uses of gtk_object_new by g_object_new.
2003-03-01 Matthias Clasen <maclas@gmx.de> * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_vadjustment): (gtk_scrolled_window_set_hadjustment): Replace uses of gtk_object_new by g_object_new.
Diffstat (limited to 'gtk/gtkscrolledwindow.c')
-rw-r--r--gtk/gtkscrolledwindow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c
index cc78baaa65..7a49d0df43 100644
--- a/gtk/gtkscrolledwindow.c
+++ b/gtk/gtkscrolledwindow.c
@@ -373,7 +373,7 @@ gtk_scrolled_window_set_hadjustment (GtkScrolledWindow *scrolled_window,
if (hadjustment)
g_return_if_fail (GTK_IS_ADJUSTMENT (hadjustment));
else
- hadjustment = (GtkAdjustment*) gtk_object_new (GTK_TYPE_ADJUSTMENT, NULL);
+ hadjustment = (GtkAdjustment*) g_object_new (GTK_TYPE_ADJUSTMENT, NULL);
bin = GTK_BIN (scrolled_window);
@@ -427,7 +427,7 @@ gtk_scrolled_window_set_vadjustment (GtkScrolledWindow *scrolled_window,
if (vadjustment)
g_return_if_fail (GTK_IS_ADJUSTMENT (vadjustment));
else
- vadjustment = (GtkAdjustment*) gtk_object_new (GTK_TYPE_ADJUSTMENT, NULL);
+ vadjustment = (GtkAdjustment*) g_object_new (GTK_TYPE_ADJUSTMENT, NULL);
bin = GTK_BIN (scrolled_window);