diff options
author | raveit65 <[email protected]> | 2015-08-29 13:15:01 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-08-29 14:17:17 +0200 |
commit | 8c4dea6d050df632452aac47e076ec4845518d26 (patch) | |
tree | 3d22bb88596b098685769e7a350cc6a16cef6c11 | |
parent | b3d8f9f0ed22bdac8c90af4858acb334dd0b6b93 (diff) | |
download | mate-control-center-8c4dea6d050df632452aac47e076ec4845518d26.tar.bz2 mate-control-center-8c4dea6d050df632452aac47e076ec4845518d26.tar.xz |
Gtk3 Fontviewer: don't use deprecated-GtkHBox
-rw-r--r-- | font-viewer/font-view.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/font-viewer/font-view.c b/font-viewer/font-view.c index 455f2bb5..fc63f694 100644 --- a/font-viewer/font-view.c +++ b/font-viewer/font-view.c @@ -624,7 +624,11 @@ main (int argc, g_free (title); gtk_window_set_resizable (GTK_WINDOW (window), TRUE); +#if GTK_CHECK_VERSION (3, 2, 0) + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); +#else hbox = gtk_hbox_new (FALSE, 0); +#endif gtk_container_add (GTK_CONTAINER (window), hbox); swin = gtk_scrolled_window_new (NULL, NULL); |