diff options
author | Benjamin Otte <otte@redhat.com> | 2011-11-17 00:27:35 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-11-17 00:46:15 +0100 |
commit | 65ceff35f91453e9d40d2a9073a5fb9270d01642 (patch) | |
tree | 990b89d84c4b6e557916bfe8e2d422e1421f7c16 /gtk/gtkviewport.c | |
parent | 5bacd8e019827968c650c41e16caaece3a6d84e8 (diff) | |
download | gtk+-65ceff35f91453e9d40d2a9073a5fb9270d01642.tar.gz |
viewport: Don't use deprecated functions
Diffstat (limited to 'gtk/gtkviewport.c')
-rw-r--r-- | gtk/gtkviewport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkviewport.c b/gtk/gtkviewport.c index f38da08428..e8ccf40efa 100644 --- a/gtk/gtkviewport.c +++ b/gtk/gtkviewport.c @@ -175,10 +175,10 @@ gtk_viewport_set_property (GObject *object, switch (prop_id) { case PROP_HADJUSTMENT: - gtk_viewport_set_hadjustment (viewport, g_value_get_object (value)); + viewport_set_adjustment (viewport, GTK_ORIENTATION_HORIZONTAL, g_value_get_object (value)); break; case PROP_VADJUSTMENT: - gtk_viewport_set_vadjustment (viewport, g_value_get_object (value)); + viewport_set_adjustment (viewport, GTK_ORIENTATION_VERTICAL, g_value_get_object (value)); break; case PROP_HSCROLL_POLICY: viewport->priv->hscroll_policy = g_value_get_enum (value); |