diff options
Diffstat (limited to 'gtk/gtksocket.c')
-rw-r--r-- | gtk/gtksocket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtksocket.c b/gtk/gtksocket.c index 9988948b91..d13cd995ec 100644 --- a/gtk/gtksocket.c +++ b/gtk/gtksocket.c @@ -307,8 +307,8 @@ gtk_socket_size_request (GtkWidget *widget, gdk_error_trap_pop (); } - requisition->width = socket->request_width; - requisition->height = socket->request_height; + requisition->width = MAX (socket->request_width, 1); + requisition->height = MAX (socket->request_height, 1); } static void |