From: John Darrington Date: Sun, 19 Jul 2015 11:13:18 +0000 (+0200) Subject: PsppireDialogActionIndepSamples: Replace GtkTable with GtkGrid X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=792c0643390717bf4ca02b719228434253019549;p=pspp PsppireDialogActionIndepSamples: Replace GtkTable with GtkGrid --- diff --git a/src/ui/gui/indep-samples.ui b/src/ui/gui/indep-samples.ui index 3266ec3a86..a07d65720b 100644 --- a/src/ui/gui/indep-samples.ui +++ b/src/ui/gui/indep-samples.ui @@ -15,17 +15,12 @@ GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK 2 - + True False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - 3 - 2 - 5 5 - - - + 5 True @@ -37,7 +32,8 @@ True - + 0 + 0 @@ -116,10 +112,7 @@ 1 - 2 1 - 2 - GTK_EXPAND @@ -164,11 +157,7 @@ 1 - 2 2 - 3 - - 5 @@ -183,8 +172,7 @@ 1 - 2 - + 0 @@ -199,12 +187,13 @@ radiobutton3 + 0 2 - 3 - - + + + True diff --git a/src/ui/gui/psppire-dialog-action-indep-samps.c b/src/ui/gui/psppire-dialog-action-indep-samps.c index df38051149..f91c03aa9c 100644 --- a/src/ui/gui/psppire-dialog-action-indep-samps.c +++ b/src/ui/gui/psppire-dialog-action-indep-samps.c @@ -162,8 +162,8 @@ run_define_groups (PsppireDialogActionIndepSamps *act) if ( var_is_numeric (act->grp_var)) { - gtk_table_attach_defaults (GTK_TABLE (act->dg_table1), act->dg_table2, - 1, 2, 1, 2); + gtk_grid_attach (GTK_GRID (act->dg_table1), act->dg_table2, + 1, 1, 1, 1); gtk_container_add (GTK_CONTAINER (act->dg_box), act->dg_table1); }