diff options
author | Wolfgang Ulbrich <[email protected]> | 2015-11-21 13:02:46 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2015-11-21 13:02:46 +0100 |
commit | 11faa5bb63005322d016aa0c76653985d0468b42 (patch) | |
tree | 2344d65988d43ef3b9903e11a081d879af6636d3 /src/math-converter.c | |
parent | 48fe60d466a5aba0cca69b6ae7c386c4a473074c (diff) | |
download | mate-calc-11faa5bb63005322d016aa0c76653985d0468b42.tar.bz2 mate-calc-11faa5bb63005322d016aa0c76653985d0468b42.tar.xz |
Don't use deprecated gtk_{vh}box and GTK_TYPE_{VH}BOX
Diffstat (limited to 'src/math-converter.c')
-rw-r--r-- | src/math-converter.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/math-converter.c b/src/math-converter.c index ff28500..7badc5e 100644 --- a/src/math-converter.c +++ b/src/math-converter.c @@ -33,7 +33,7 @@ struct MathConverterPrivate }; -G_DEFINE_TYPE (MathConverter, math_converter, GTK_TYPE_HBOX); +G_DEFINE_TYPE (MathConverter, math_converter, GTK_TYPE_BOX); static void display_changed_cb(MathEquation *equation, GParamSpec *spec, MathConverter *converter); static void update_from_model(MathConverter *converter); @@ -390,6 +390,8 @@ math_converter_init(MathConverter *converter) converter->priv = G_TYPE_INSTANCE_GET_PRIVATE(converter, math_converter_get_type(), MathConverterPrivate); gtk_box_set_spacing(GTK_BOX(converter), 6); + gtk_orientable_set_orientation (GTK_ORIENTABLE (converter), + GTK_ORIENTATION_HORIZONTAL); hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_show(hbox); |