diff options
Diffstat (limited to 'src/gui_gtk_f.c')
-rw-r--r-- | src/gui_gtk_f.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui_gtk_f.c b/src/gui_gtk_f.c index ccf54ece9..2caded85d 100644 --- a/src/gui_gtk_f.c +++ b/src/gui_gtk_f.c @@ -172,12 +172,13 @@ gtk_form_move(GtkForm *form, } } +#if !defined(HAVE_GTK2) || defined(PROTO) void gtk_form_set_size(GtkForm *form, guint width, guint height) { g_return_if_fail(GTK_IS_FORM(form)); - /* prevent unneccessary calls */ + /* prevent useless calls */ if (form->width == width && form->height == height) return; form->width = width; @@ -190,6 +191,7 @@ gtk_form_set_size(GtkForm *form, guint width, guint height) gtk_container_queue_resize(GTK_CONTAINER(GTK_WIDGET(form)->parent)); #endif } +#endif void gtk_form_freeze(GtkForm *form) |