mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 04:10:13 +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>
|
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
|
* 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>
|
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
|
* 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>
|
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
|
* 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>
|
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
|
* 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>
|
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
|
* 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>
|
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
|
* 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)
|
if (outside_w > 0)
|
||||||
*x -= outside_w;
|
*x -= outside_w;
|
||||||
|
|
||||||
outside_h = (y + h) - (rect->y + rect->height);
|
outside_h = (*y + h) - (rect->y + rect->height);
|
||||||
if (outside_h > 0)
|
if (outside_h > 0)
|
||||||
*y -= outside_h;
|
*y -= outside_h;
|
||||||
|
|
||||||
@ -4561,7 +4561,6 @@ gtk_window_compute_configure_request (GtkWindow *window,
|
|||||||
{
|
{
|
||||||
gint monitor_num;
|
gint monitor_num;
|
||||||
GdkRectangle monitor;
|
GdkRectangle monitor;
|
||||||
gint offscreen_w, offscreen_h;
|
|
||||||
gint ox, oy;
|
gint ox, oy;
|
||||||
|
|
||||||
g_assert (GTK_WIDGET_MAPPED (parent_widget)); /* established earlier */
|
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 screen_height = gdk_screen_get_height (window->screen);
|
||||||
gint monitor_num;
|
gint monitor_num;
|
||||||
GdkRectangle monitor;
|
GdkRectangle monitor;
|
||||||
gint offscreen_w, offscreen_h;
|
|
||||||
GdkScreen *pointer_screen;
|
GdkScreen *pointer_screen;
|
||||||
gint px, py;
|
gint px, py;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user