[five-or-more] Set a reasonable size request for the drawing area
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more] Set a reasonable size request for the drawing area
- Date: Sat, 6 Sep 2014 22:09:48 +0000 (UTC)
commit 2144ca1cadf3d2fbba39dfb05cf832bc8f51f779
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Sep 6 17:09:25 2014 -0500
Set a reasonable size request for the drawing area
src/five-or-more.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/five-or-more.c b/src/five-or-more.c
index e9f6f6e..81eb3e1 100644
--- a/src/five-or-more.c
+++ b/src/five-or-more.c
@@ -1596,6 +1596,7 @@ startup_cb (GApplication *application)
hbox = GTK_WIDGET (gtk_builder_get_object (builder, "hbox"));
draw_area = gtk_drawing_area_new ();
+ gtk_widget_set_size_request (draw_area, 300, 300);
g_signal_connect (draw_area, "button-press-event",
G_CALLBACK (button_press_event), NULL);
g_signal_connect (draw_area, "key-press-event",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]