[gtk3] fix patch

Matthias Clasen mclasen at fedoraproject.org
Sat Oct 2 05:32:26 UTC 2010


commit efa5c40a4dacc4d4f637bda968052c4d0c4a12a9
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Sat Oct 2 01:31:44 2010 -0400

    fix patch

 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));


More information about the scm-commits mailing list