summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-08-29 13:29:00 +0200
committerinfirit <[email protected]>2015-08-29 14:17:17 +0200
commit7feb731e577881109dcacb30428687290cec86ba (patch)
tree16de612c2ef541ca990b1d7c86df781314272ea2
parent8c4dea6d050df632452aac47e076ec4845518d26 (diff)
downloadmate-control-center-7feb731e577881109dcacb30428687290cec86ba.tar.bz2
mate-control-center-7feb731e577881109dcacb30428687290cec86ba.tar.xz
Gtk3 Fontviewer: increase-horiontal-size-scrolledwindow
- needed for GtkGrid port
-rw-r--r--font-viewer/font-view.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/font-viewer/font-view.c b/font-viewer/font-view.c
index fc63f694..bf4138fb 100644
--- a/font-viewer/font-view.c
+++ b/font-viewer/font-view.c
@@ -652,7 +652,12 @@ main (int argc,
/* set the minimum size on the scrolled window to prevent
* unnecessary scrolling */
+ /* 800 is better for GtkGrid */
+#if GTK_CHECK_VERSION (3, 4, 0)
+ gtk_widget_set_size_request (swin, 800, -1);
+#else
gtk_widget_set_size_request (swin, 500, -1);
+#endif
g_signal_connect (window, "destroy",
G_CALLBACK (gtk_main_quit), NULL);