diff options
author | monsta <[email protected]> | 2016-01-21 17:45:40 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-21 17:45:40 +0300 |
commit | d6fdc8b451bb06211edf9bcb9f052bb8fb04a76a (patch) | |
tree | dd2f79821568e3a5b9796fd2ba27050b1a611042 /logview/src/logview-findbar.c | |
parent | e9d08e8c975af48e8d730ca2dd97521efc5fbdf5 (diff) | |
download | mate-utils-d6fdc8b451bb06211edf9bcb9f052bb8fb04a76a.tar.bz2 mate-utils-d6fdc8b451bb06211edf9bcb9f052bb8fb04a76a.tar.xz |
[GTK+3] logview: fix deprecated usage of Gtk{H,V}Box, GtkMisc
Diffstat (limited to 'logview/src/logview-findbar.c')
-rw-r--r-- | logview/src/logview-findbar.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/logview/src/logview-findbar.c b/logview/src/logview-findbar.c index 3cb53f1d..71c2ada8 100644 --- a/logview/src/logview-findbar.c +++ b/logview/src/logview-findbar.c @@ -167,7 +167,11 @@ logview_findbar_init (LogviewFindbar *findbar) w = gtk_alignment_new (0.0, 0.5, 1.0, 1.0); gtk_alignment_set_padding (GTK_ALIGNMENT (w), 0, 0, 2, 2); +#if GTK_CHECK_VERSION (3, 0, 0) + box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12); +#else box = gtk_hbox_new (FALSE, 12); +#endif gtk_container_add (GTK_CONTAINER (w), box); label = gtk_label_new_with_mnemonic (_("_Find:")); |