File 0005-fix-build-with-11.4-gtk2-2.21.patch of Package PackageKit.import5521

From dd0fc72535c813d3ab43f5081aa814a479c9da7e Mon Sep 17 00:00:00 2001
From: Marcus Meissner <meissner@suse.de>
Date: Tue, 26 Jul 2011 11:35:18 +0200
Subject: [PATCH 5/8] fix build with 11.4 gtk2 2.21

---
 contrib/browser-plugin/pk-main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/contrib/browser-plugin/pk-main.c b/contrib/browser-plugin/pk-main.c
index b9378cb..62914e0 100644
--- a/contrib/browser-plugin/pk-main.c
+++ b/contrib/browser-plugin/pk-main.c
@@ -219,7 +219,7 @@ pk_main_create_window (PkPlugin *plugin)
 		}
 
 		/* get parent */
-		parent = gdk_x11_window_foreign_new_for_display (gdk_display, xwindow);
+		parent = gdk_window_foreign_new_for_display (gdk_display, xwindow);
 		if (parent == NULL) {
 			pk_debug ("invalid window given for setup (id %lu)\n", xwindow);
 			return;
-- 
1.7.6.4