From: John Darrington Date: Sat, 27 Jun 2015 14:22:25 +0000 (+0200) Subject: OutputWindow: Convert deprecated widgets to non-deprecated ones X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58c32883c1675879e1d59f703033af702e214040;p=pspp OutputWindow: Convert deprecated widgets to non-deprecated ones --- diff --git a/src/ui/gui/output-window.ui b/src/ui/gui/output-window.ui index a9b7702e5b..f89deb10c4 100644 --- a/src/ui/gui/output-window.ui +++ b/src/ui/gui/output-window.ui @@ -82,8 +82,9 @@ 600 400 - + True + GTK_ORIENTATION_VERTICAL GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK @@ -96,8 +97,9 @@ - + True + GTK_ORIENTATION_HORIZONTAL True 112 True @@ -142,6 +144,7 @@ 1 + True diff --git a/src/ui/gui/psppire-output-window.c b/src/ui/gui/psppire-output-window.c index 66ea9d3927..8e343d2359 100644 --- a/src/ui/gui/psppire-output-window.c +++ b/src/ui/gui/psppire-output-window.c @@ -478,7 +478,7 @@ psppire_output_window_init (PsppireOutputWindow *window) xml = builder_new ("output-window.ui"); - gtk_widget_reparent (get_widget_assert (xml, "vbox1"), GTK_WIDGET (window)); + gtk_widget_reparent (get_widget_assert (xml, "box1"), GTK_WIDGET (window)); window->dispose_has_run = FALSE;