summaryrefslogtreecommitdiff
path: root/examples/progressbar
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-10-30 01:32:34 +0200
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-10-30 17:37:02 +0900
commit821c3c65787e6d006c831895b88d0b5b0a3e54e6 (patch)
tree1bebf8a88faaa202ab3da4049040379ea461eafe /examples/progressbar
parent2615ebf37e552ad863a5b4c00c1d9bc96a75a557 (diff)
downloadgtk+-821c3c65787e6d006c831895b88d0b5b0a3e54e6.tar.gz
Use gtk_separator_new() instead gtk_[v|h]separator_new()
Diffstat (limited to 'examples/progressbar')
-rw-r--r--examples/progressbar/progressbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/progressbar/progressbar.c b/examples/progressbar/progressbar.c
index 525cbba1bd..790e97dff8 100644
--- a/examples/progressbar/progressbar.c
+++ b/examples/progressbar/progressbar.c
@@ -136,7 +136,7 @@ int main( int argc,
/* Add a timer callback to update the value of the progress bar */
pdata->timer = gdk_threads_add_timeout (100, progress_timeout, pdata);
- separator = gtk_hseparator_new ();
+ separator = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
gtk_box_pack_start (GTK_BOX (vbox), separator, FALSE, FALSE, 0);
gtk_widget_show (separator);