mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
Remove a couple of places if (widget->window), this function will only
Mon Dec 9 19:49:03 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkwindow.c (gtk_window_move_resize): Remove a couple of places if (widget->window), this function will only ever be called on a realized window. (#80225)
This commit is contained in:
parent
5fb6d3b823
commit
5b3964b91e
@ -1,3 +1,10 @@
|
||||
Mon Dec 9 19:49:03 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_move_resize): Remove
|
||||
a couple of places if (widget->window), this function
|
||||
will only ever be called on a realized window.
|
||||
(#80225)
|
||||
|
||||
Tue Dec 10 01:58:43 2002 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (validate_visible_area): implement a working
|
||||
|
@ -1,3 +1,10 @@
|
||||
Mon Dec 9 19:49:03 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_move_resize): Remove
|
||||
a couple of places if (widget->window), this function
|
||||
will only ever be called on a realized window.
|
||||
(#80225)
|
||||
|
||||
Tue Dec 10 01:58:43 2002 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (validate_visible_area): implement a working
|
||||
|
@ -1,3 +1,10 @@
|
||||
Mon Dec 9 19:49:03 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_move_resize): Remove
|
||||
a couple of places if (widget->window), this function
|
||||
will only ever be called on a realized window.
|
||||
(#80225)
|
||||
|
||||
Tue Dec 10 01:58:43 2002 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (validate_visible_area): implement a working
|
||||
|
@ -1,3 +1,10 @@
|
||||
Mon Dec 9 19:49:03 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_move_resize): Remove
|
||||
a couple of places if (widget->window), this function
|
||||
will only ever be called on a realized window.
|
||||
(#80225)
|
||||
|
||||
Tue Dec 10 01:58:43 2002 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (validate_visible_area): implement a working
|
||||
|
@ -1,3 +1,10 @@
|
||||
Mon Dec 9 19:49:03 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_move_resize): Remove
|
||||
a couple of places if (widget->window), this function
|
||||
will only ever be called on a realized window.
|
||||
(#80225)
|
||||
|
||||
Tue Dec 10 01:58:43 2002 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (validate_visible_area): implement a working
|
||||
|
@ -1,3 +1,10 @@
|
||||
Mon Dec 9 19:49:03 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_move_resize): Remove
|
||||
a couple of places if (widget->window), this function
|
||||
will only ever be called on a realized window.
|
||||
(#80225)
|
||||
|
||||
Tue Dec 10 01:58:43 2002 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (validate_visible_area): implement a working
|
||||
|
@ -5067,10 +5067,9 @@ gtk_window_move_resize (GtkWindow *window)
|
||||
new_request.width, new_request.height);
|
||||
}
|
||||
else
|
||||
if (widget->window)
|
||||
gdk_window_move_resize (widget->window,
|
||||
new_request.x, new_request.y,
|
||||
new_request.width, new_request.height);
|
||||
gdk_window_move_resize (widget->window,
|
||||
new_request.x, new_request.y,
|
||||
new_request.width, new_request.height);
|
||||
}
|
||||
else /* only size changed */
|
||||
{
|
||||
@ -5078,9 +5077,8 @@ gtk_window_move_resize (GtkWindow *window)
|
||||
gdk_window_resize (window->frame,
|
||||
new_request.width + window->frame_left + window->frame_right,
|
||||
new_request.height + window->frame_top + window->frame_bottom);
|
||||
if (widget->window)
|
||||
gdk_window_resize (widget->window,
|
||||
new_request.width, new_request.height);
|
||||
gdk_window_resize (widget->window,
|
||||
new_request.width, new_request.height);
|
||||
}
|
||||
|
||||
/* Increment the number of have-not-yet-received-notify requests */
|
||||
|
Loading…
Reference in New Issue
Block a user