OutputWindow: Convert deprecated widgets to non-deprecated ones
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 27 Jun 2015 14:22:25 +0000 (16:22 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 27 Jun 2015 14:22:25 +0000 (16:22 +0200)
src/ui/gui/output-window.ui
src/ui/gui/psppire-output-window.c

index a9b7702e5b6a62b933736cb2dae17290f1aa18da..f89deb10c447951abc076c9b4182bcbcaba6258c 100644 (file)
@@ -82,8 +82,9 @@
     <property name="default_width">600</property>
     <property name="default_height">400</property>
     <child>
-      <object class="GtkVBox" id="vbox1">
+      <object class="GtkBox" id="box1">
         <property name="visible">True</property>
+       <property name="orientation">GTK_ORIENTATION_VERTICAL</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
         <child>
           <object class="GtkMenuBar" constructor="uimanager1" id="menubar">
@@ -96,8 +97,9 @@
           </packing>
         </child>
         <child>
-          <object class="GtkHPaned" id="hpaned1">
+          <object class="GtkPaned" id="paned1">
             <property name="visible">True</property>
+           <property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
             <property name="can_focus">True</property>
             <property name="position">112</property>
             <property name="position_set">True</property>
           </object>
           <packing>
             <property name="position">1</property>
+           <property name="expand">True</property>
           </packing>
         </child>
       </object>
index 66ea9d392707fee19c011aa66436be4684788047..8e343d23590dd1480cfe1678ae1c747218f27562 100644 (file)
@@ -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;