From f11a8331ed3dae43ab55420f0a6920e57fe8b4e8 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 25 Apr 2008 03:09:24 +0000 Subject: 2.23.8 --- metacity-theme-crash.patch | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 metacity-theme-crash.patch (limited to 'metacity-theme-crash.patch') diff --git a/metacity-theme-crash.patch b/metacity-theme-crash.patch deleted file mode 100644 index 50c3b09..0000000 --- a/metacity-theme-crash.patch +++ /dev/null @@ -1,39 +0,0 @@ -Index: src/ui/preview-widget.c -=================================================================== ---- src/ui/preview-widget.c (revision 3666) -+++ src/ui/preview-widget.c (working copy) -@@ -478,6 +478,19 @@ - - flags = (META_PREVIEW (preview)->flags); - -+ window_xregion = gdk_region_new (); -+ -+ xrect.x = 0; -+ xrect.y = 0; -+ xrect.width = new_window_width; -+ xrect.height = new_window_height; -+ -+ gdk_region_union_with_rect (window_xregion, &xrect); -+ -+ if (preview->theme == NULL) -+ return window_xregion; -+ -+ /* Otherwise, we do have a theme, so calculate the corners */ - frame_style = meta_theme_get_frame_style (preview->theme, - META_FRAME_TYPE_NORMAL, flags); - -@@ -558,14 +571,6 @@ - } - } - -- window_xregion = gdk_region_new (); -- -- xrect.x = 0; -- xrect.y = 0; -- xrect.width = new_window_width; -- xrect.height = new_window_height; -- -- gdk_region_union_with_rect (window_xregion, &xrect); - gdk_region_subtract (window_xregion, corners_xregion); - gdk_region_destroy (corners_xregion); - -- cgit