mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
fix compiler warnings
2002-10-17 Havoc Pennington <hp@redhat.com> * gtk/gtkwindow.c (gtk_window_compute_configure_request): fix compiler warnings
This commit is contained in:
parent
fc2b515ef9
commit
74e51bc109
@ -1,3 +1,8 @@
|
||||
2002-10-17 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_compute_configure_request): fix
|
||||
compiler warnings
|
||||
|
||||
Thu Oct 17 22:37:57 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkwindow.c (get_center_monitor_of_window): fix typo to make
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-10-17 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_compute_configure_request): fix
|
||||
compiler warnings
|
||||
|
||||
Thu Oct 17 22:37:57 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkwindow.c (get_center_monitor_of_window): fix typo to make
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-10-17 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_compute_configure_request): fix
|
||||
compiler warnings
|
||||
|
||||
Thu Oct 17 22:37:57 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkwindow.c (get_center_monitor_of_window): fix typo to make
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-10-17 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_compute_configure_request): fix
|
||||
compiler warnings
|
||||
|
||||
Thu Oct 17 22:37:57 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkwindow.c (get_center_monitor_of_window): fix typo to make
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-10-17 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_compute_configure_request): fix
|
||||
compiler warnings
|
||||
|
||||
Thu Oct 17 22:37:57 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkwindow.c (get_center_monitor_of_window): fix typo to make
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-10-17 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_compute_configure_request): fix
|
||||
compiler warnings
|
||||
|
||||
Thu Oct 17 22:37:57 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkwindow.c (get_center_monitor_of_window): fix typo to make
|
||||
|
@ -4490,7 +4490,7 @@ clamp_window_to_rectangle (gint *x,
|
||||
if (outside_w > 0)
|
||||
*x -= outside_w;
|
||||
|
||||
outside_h = (y + h) - (rect->y + rect->height);
|
||||
outside_h = (*y + h) - (rect->y + rect->height);
|
||||
if (outside_h > 0)
|
||||
*y -= outside_h;
|
||||
|
||||
@ -4561,7 +4561,6 @@ gtk_window_compute_configure_request (GtkWindow *window,
|
||||
{
|
||||
gint monitor_num;
|
||||
GdkRectangle monitor;
|
||||
gint offscreen_w, offscreen_h;
|
||||
gint ox, oy;
|
||||
|
||||
g_assert (GTK_WIDGET_MAPPED (parent_widget)); /* established earlier */
|
||||
@ -4596,7 +4595,6 @@ gtk_window_compute_configure_request (GtkWindow *window,
|
||||
gint screen_height = gdk_screen_get_height (window->screen);
|
||||
gint monitor_num;
|
||||
GdkRectangle monitor;
|
||||
gint offscreen_w, offscreen_h;
|
||||
GdkScreen *pointer_screen;
|
||||
gint px, py;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user