From dbf1fcdcd7968e361a3347ba860889eccac84ca1 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 10 Mar 2010 06:02:33 +0000 Subject: [PATCH] updates patches --- fresh-tooltips.patch | 2 +- tooltip-positioning.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fresh-tooltips.patch b/fresh-tooltips.patch index 6347688..a809c50 100644 --- a/fresh-tooltips.patch +++ b/fresh-tooltips.patch @@ -228,7 +228,7 @@ diff -up gtk+-2.19.1/gtk/gtktooltip.c.fresh-tooltips gtk+-2.19.1/gtk/gtktooltip. + /* This is a hack to keep the Metacity compositor from slapping a + * non-shaped shadow around the shaped tooltip + */ -+ if (!GTK_WIDGET_MAPPED (tooltip->window)) ++ if (!gtk_widget_get_mapped (tooltip->window)) + { + wm = gdk_x11_screen_get_window_manager_name (screen); + if (g_strcmp0 (wm, "Metacity") == 0) diff --git a/tooltip-positioning.patch b/tooltip-positioning.patch index 97afc7d..8634189 100644 --- a/tooltip-positioning.patch +++ b/tooltip-positioning.patch @@ -26,7 +26,7 @@ diff -up gtk+-2.18.3/gtk/gtktooltip.c.positioning gtk+-2.18.3/gtk/gtktooltip.c + gdk_screen_get_monitor_geometry (screen, monitor_num, &monitor); + + gdk_window_get_origin (new_tooltip_widget->window, &wx, &wy); -+ if (GTK_WIDGET_NO_WINDOW (new_tooltip_widget)) ++ if (!gtk_widget_get_has_window (new_tooltip_widget)) + { + wx += new_tooltip_widget->allocation.x; + wy += new_tooltip_widget->allocation.y;