/pidgin/main: e97c8ef10fd2: Fix tooltip paint function parameter...
Elliott Sales de Andrade
qulogic at pidgin.im
Tue Jul 24 04:03:52 EDT 2012
Changeset: e97c8ef10fd21e55eb62d0153d4ff84f3216c6f8
Author: Elliott Sales de Andrade <qulogic at pidgin.im>
Date: 2012-07-23 00:19 -0400
Branch: cpw.qulogic.gtk3-required
URL: http://hg.pidgin.im/pidgin/main/rev/e97c8ef10fd2
Description:
Fix tooltip paint function parameters in gtkdisco plugin.
diffstat:
pidgin/plugins/disco/gtkdisco.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (14 lines):
diff --git a/pidgin/plugins/disco/gtkdisco.c b/pidgin/plugins/disco/gtkdisco.c
--- a/pidgin/plugins/disco/gtkdisco.c
+++ b/pidgin/plugins/disco/gtkdisco.c
@@ -427,9 +427,8 @@
}
static gboolean
-disco_paint_tooltip(GtkWidget *tipwindow, gpointer data)
+disco_paint_tooltip(GtkWidget *tipwindow, cairo_t *cr, gpointer data)
{
- cairo_t *cr = gdk_cairo_create(gtk_widget_get_window(tipwindow));
PangoLayout *layout = g_object_get_data(G_OBJECT(tipwindow), "tooltip-plugin");
gtk_paint_layout(gtk_widget_get_style(tipwindow),
cr,
More information about the Commits
mailing list