[goffice] Fixed deprecations in pie-demo



commit 9a01b3e49e1680f2f060d1490439dfd3f29d9c27
Author: Jean Brefort <jean brefort normalesup org>
Date:   Wed Mar 6 07:31:40 2013 +0100

    Fixed deprecations in pie-demo

 ChangeLog        |    4 ++++
 tests/pie-demo.c |    4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e862fe6..992b9ab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-06  Jean Brefort  <jean brefort normalesup org>
+
+       * tests/pie-demo.c (main): fix deprecation issues.
+
 2013-03-05  Jean Brefort  <jean brefort normalesup org>
 
        * goffice/graph/gog-axis.c (gog_axis_populate_editor): show the format page.
diff --git a/tests/pie-demo.c b/tests/pie-demo.c
index e5662d4..bbc3b1b 100644
--- a/tests/pie-demo.c
+++ b/tests/pie-demo.c
@@ -71,7 +71,7 @@ main (int argc, char *argv[])
        g_signal_connect_swapped (w, "clicked", G_CALLBACK (on_quit), window);
        gtk_box_pack_end (GTK_BOX (box), w, FALSE, FALSE, 0);
 
-       w = gtk_hseparator_new ();
+       w = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
        gtk_box_pack_end (GTK_BOX (box), w, FALSE, FALSE, 2);
 
        /* Create a graph widget and add it to the GtkVBox */
@@ -105,7 +105,7 @@ main (int argc, char *argv[])
        gtk_container_add (GTK_CONTAINER (window), box);
        gtk_widget_show_all (GTK_WIDGET (window));
 
-       w = gtk_hseparator_new ();
+       w = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
        gtk_box_pack_start (GTK_BOX (box), w, FALSE, FALSE, 0);
 
        gtk_main ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]