1
From e6b8ff62886d4d7d7b5dcfed617d7bb53c7612a1 Mon Sep 17 00:00:00 2001
2
From: Matthias Clasen <mclasen@redhat.com>
3
Date: Thu, 09 Dec 2010 12:18:09 +0000
4
Subject: Fix build with latest gtk
6
gdk_window_get_geometry lost its depth argument.
8
diff --git a/savers/gs-theme-engine.c b/savers/gs-theme-engine.c
9
index 724a7c2..8e0c7e9 100644
10
--- a/savers/gs-theme-engine.c
11
+++ b/savers/gs-theme-engine.c
12
@@ -195,11 +195,7 @@ gs_theme_engine_get_window_size (GSThemeEngine *engine,
15
gdk_window_get_geometry (gtk_widget_get_window (GTK_WIDGET (engine)),
21
+ NULL, NULL, width, height);
25
diff --git a/savers/gs-theme-window.c b/savers/gs-theme-window.c
26
index 7adc6ed..e0e9aed 100644
27
--- a/savers/gs-theme-window.c
28
+++ b/savers/gs-theme-window.c
29
@@ -179,7 +179,7 @@ gs_theme_window_real_realize (GtkWidget *widget)
30
gdk_window_set_user_data (window, widget);
31
gtk_widget_set_realized (widget, TRUE);
33
- gdk_window_get_geometry (window, &x, &y, &width, &height, NULL);
34
+ gdk_window_get_geometry (window, &x, &y, &width, &height);
36
if (width < MIN_SIZE || height < MIN_SIZE) {
37
g_critical ("This window is way too small to use");