Commit b109d25e authored by Matthias Clasen's avatar Matthias Clasen

Some forgotten deprecation cleanup

parent 0ca9b468
......@@ -11446,6 +11446,7 @@ gtk_window_parse_geometry (GtkWindow *window,
if ((result & YValue) == 0)
y = 0;
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
if (grav == GDK_GRAVITY_SOUTH_WEST ||
grav == GDK_GRAVITY_SOUTH_EAST)
y = gdk_screen_get_height (screen) - h + y;
......@@ -11453,6 +11454,7 @@ gtk_window_parse_geometry (GtkWindow *window,
if (grav == GDK_GRAVITY_SOUTH_EAST ||
grav == GDK_GRAVITY_NORTH_EAST)
x = gdk_screen_get_width (screen) - w + x;
G_GNUC_END_IGNORE_DEPRECATIONS
/* we don't let you put a window offscreen; maybe some people would
* prefer to be able to, but it's kind of a bogus thing to do.
......
......@@ -1624,7 +1624,9 @@ on_status_toplevel_configure (GtkWidget *toplevel,
if (status_window->window)
{
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
height = gdk_screen_get_height (gtk_widget_get_screen (toplevel));
G_GNUC_END_IGNORE_DEPRECATIONS
gdk_window_get_frame_extents (gtk_widget_get_window (toplevel),
&rect);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment