diff options
author | Sorokin Alexei <[email protected]> | 2016-06-24 23:33:04 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-06-29 18:42:12 +0200 |
commit | 882f8f4d9959b6b27f08d2ddb525c7347df1797c (patch) | |
tree | badcf506263d22bd15f0c4a77c41b431e4e65f09 /mate-panel/panel-ditem-editor.c | |
parent | 8acec6d1ae0e50f0eee68ce6153d04a3beb5d52a (diff) | |
download | mate-panel-882f8f4d9959b6b27f08d2ddb525c7347df1797c.tar.bz2 mate-panel-882f8f4d9959b6b27f08d2ddb525c7347df1797c.tar.xz |
use gtk_box_new instead of gtk_{h,v}box_new properly
Diffstat (limited to 'mate-panel/panel-ditem-editor.c')
-rw-r--r-- | mate-panel/panel-ditem-editor.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mate-panel/panel-ditem-editor.c b/mate-panel/panel-ditem-editor.c index c8bb3d76..5d18bfc6 100644 --- a/mate-panel/panel-ditem-editor.c +++ b/mate-panel/panel-ditem-editor.c @@ -40,10 +40,6 @@ #include "panel-util.h" #include "panel-marshal.h" -#if GTK_CHECK_VERSION (3, 0, 0) -#define gtk_hbox_new(X, Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL, Y) -#endif - struct _PanelDItemEditorPrivate { /* we keep a ditem around, since we can never have absolutely @@ -650,7 +646,11 @@ panel_ditem_editor_make_ui (PanelDItemEditor *dialog) /* Command */ priv->command_label = label_new_with_mnemonic (""); +#if GTK_CHECK_VERSION (3, 0, 0) + priv->command_hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12); +#else priv->command_hbox = gtk_hbox_new (FALSE, 12); +#endif gtk_widget_show (priv->command_hbox); priv->command_entry = gtk_entry_new (); |