mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
small fix by Assar Westerlund <assar@sics.se>.
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org> * gtk/gtkwindow.c (gtk_window_configure_event): small fix by Assar Westerlund <assar@sics.se>.
This commit is contained in:
parent
9addd8da2c
commit
85764dad33
@ -1,5 +1,8 @@
|
|||||||
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
|
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
|
||||||
|
|
||||||
|
* gtk/gtkwindow.c (gtk_window_configure_event): small fix by
|
||||||
|
Assar Westerlund <assar@sics.se>.
|
||||||
|
|
||||||
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
|
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
|
||||||
|
|
||||||
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>
|
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
|
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
|
||||||
|
|
||||||
|
* gtk/gtkwindow.c (gtk_window_configure_event): small fix by
|
||||||
|
Assar Westerlund <assar@sics.se>.
|
||||||
|
|
||||||
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
|
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
|
||||||
|
|
||||||
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>
|
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
|
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
|
||||||
|
|
||||||
|
* gtk/gtkwindow.c (gtk_window_configure_event): small fix by
|
||||||
|
Assar Westerlund <assar@sics.se>.
|
||||||
|
|
||||||
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
|
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
|
||||||
|
|
||||||
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>
|
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
|
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
|
||||||
|
|
||||||
|
* gtk/gtkwindow.c (gtk_window_configure_event): small fix by
|
||||||
|
Assar Westerlund <assar@sics.se>.
|
||||||
|
|
||||||
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
|
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
|
||||||
|
|
||||||
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>
|
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
|
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
|
||||||
|
|
||||||
|
* gtk/gtkwindow.c (gtk_window_configure_event): small fix by
|
||||||
|
Assar Westerlund <assar@sics.se>.
|
||||||
|
|
||||||
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
|
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
|
||||||
|
|
||||||
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>
|
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
|
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
|
||||||
|
|
||||||
|
* gtk/gtkwindow.c (gtk_window_configure_event): small fix by
|
||||||
|
Assar Westerlund <assar@sics.se>.
|
||||||
|
|
||||||
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
|
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
|
||||||
|
|
||||||
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>
|
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
|
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
|
||||||
|
|
||||||
|
* gtk/gtkwindow.c (gtk_window_configure_event): small fix by
|
||||||
|
Assar Westerlund <assar@sics.se>.
|
||||||
|
|
||||||
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
|
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
|
||||||
|
|
||||||
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>
|
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>
|
||||||
|
@ -716,13 +716,14 @@ gtk_window_configure_event (GtkWidget *widget,
|
|||||||
g_return_val_if_fail (GTK_IS_WINDOW (widget), FALSE);
|
g_return_val_if_fail (GTK_IS_WINDOW (widget), FALSE);
|
||||||
g_return_val_if_fail (event != NULL, FALSE);
|
g_return_val_if_fail (event != NULL, FALSE);
|
||||||
|
|
||||||
|
window = GTK_WINDOW (widget);
|
||||||
|
|
||||||
/* If the window was merely moved, do nothing */
|
/* If the window was merely moved, do nothing */
|
||||||
if ((widget->allocation.width == event->width) &&
|
if ((widget->allocation.width == event->width) &&
|
||||||
(widget->allocation.height == event->height) &&
|
(widget->allocation.height == event->height) &&
|
||||||
(window->resize_count == 0))
|
(window->resize_count == 0))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
window = GTK_WINDOW (widget);
|
|
||||||
window->handling_resize = TRUE;
|
window->handling_resize = TRUE;
|
||||||
|
|
||||||
allocation.x = 0;
|
allocation.x = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user