diff options
-rw-r--r-- | 0001-New-tooltip-style.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/0001-New-tooltip-style.patch b/0001-New-tooltip-style.patch index 9c7b53b..58ebdb7 100644 --- a/0001-New-tooltip-style.patch +++ b/0001-New-tooltip-style.patch @@ -1,6 +1,6 @@ diff -up gtk+-2.91.0/gtk/gtktooltip.c.fresh-tooltips gtk+-2.91.0/gtk/gtktooltip.c --- gtk+-2.91.0/gtk/gtktooltip.c.fresh-tooltips 2010-09-27 20:40:00.000000000 -0400 -+++ gtk+-2.91.0/gtk/gtktooltip.c 2010-10-02 00:51:35.829456000 -0400 ++++ gtk+-2.91.0/gtk/gtktooltip.c 2010-10-02 01:31:34.469456006 -0400 @@ -35,6 +35,9 @@ #include "gtkalignment.h" #include "gtksizerequest.h" @@ -35,18 +35,18 @@ diff -up gtk+-2.91.0/gtk/gtktooltip.c.fresh-tooltips gtk+-2.91.0/gtk/gtktooltip. + GtkTooltip *tooltip) +{ + GdkScreen *screen; -+ GdkColormap *cmap; ++ GdkVisual *visual; + + screen = gtk_widget_get_screen (window); + + -+ cmap = NULL; ++ visual = NULL; + if (gdk_screen_is_composited (screen)) -+ cmap = gdk_screen_get_rgba_colormap (screen); -+ if (cmap == NULL) -+ cmap = gdk_screen_get_system_colormap (screen); ++ visual = gdk_screen_get_rgba_visual (screen); ++ if (visual == NULL) ++ visual = gdk_screen_get_system_visual (screen); + -+ gtk_widget_set_colormap (window, cmap); ++ gtk_widget_set_visual (window, visual); +} + +static void @@ -310,7 +310,7 @@ diff -up gtk+-2.91.0/gtk/gtktooltip.c.fresh-tooltips gtk+-2.91.0/gtk/gtktooltip. } diff -up gtk+-2.91.0/gtk/gtkwidget.c.fresh-tooltips gtk+-2.91.0/gtk/gtkwidget.c --- gtk+-2.91.0/gtk/gtkwidget.c.fresh-tooltips 2010-09-30 21:30:41.000000000 -0400 -+++ gtk+-2.91.0/gtk/gtkwidget.c 2010-10-02 00:45:18.549456000 -0400 ++++ gtk+-2.91.0/gtk/gtkwidget.c 2010-10-02 00:52:23.542456001 -0400 @@ -2891,6 +2891,14 @@ gtk_widget_class_init (GtkWidgetClass *k 1, G_MAXINT, 16, GTK_PARAM_READABLE)); |