summaryrefslogtreecommitdiff
path: root/gtk/gtkstatusicon.c
diff options
context:
space:
mode:
authorRichard Hult <richard@imendio.com>2008-11-05 10:24:30 +0000
committerRichard Hult <rhult@src.gnome.org>2008-11-05 10:24:30 +0000
commit43c5ef31281b3b06cc52bec28928e752180413b1 (patch)
treea88c86f4547009a92cb7c7b3b41a40f66ca5a860 /gtk/gtkstatusicon.c
parent09e3c540dc1ec5613ab16417e68c8c0161abdaa8 (diff)
downloadgtk+-43c5ef31281b3b06cc52bec28928e752180413b1.tar.gz
Fix build for win32 and quartz.
2008-11-05 Richard Hult <richard@imendio.com> * gtk/gtkstatusicon.c: (gtk_status_icon_set_has_tooltip), (gtk_status_icon_get_tooltip_markup): Fix build for win32 and quartz. svn path=/trunk/; revision=21758
Diffstat (limited to 'gtk/gtkstatusicon.c')
-rw-r--r--gtk/gtkstatusicon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c
index d88c02442b..280beaaa64 100644
--- a/gtk/gtkstatusicon.c
+++ b/gtk/gtkstatusicon.c
@@ -2594,11 +2594,11 @@ gtk_status_icon_set_has_tooltip (GtkStatusIcon *status_icon,
#endif
#ifdef GDK_WINDOWING_WIN32
if (!has_tooltip && priv->tooltip_text)
- gtk_tray_icon_set_tooltip_text (status_icon, NULL);
+ gtk_status_icon_set_tooltip_text (status_icon, NULL);
#endif
#ifdef GDK_WINDOWING_QUARTZ
if (!has_tooltip && priv->tooltip_text)
- gtk_tray_icon_set_tooltip_text (status_icon, NULL);
+ gtk_status_icon_set_tooltip_text (status_icon, NULL);
#endif
}
@@ -2804,11 +2804,11 @@ gtk_status_icon_get_tooltip_markup (GtkStatusIcon *status_icon)
#endif
#ifdef GDK_WINDOWING_WIN32
if (priv->tooltip_text)
- markup = g_markup_escape_text (priv->tooltip_text);
+ markup = g_markup_escape_text (priv->tooltip_text, -1);
#endif
#ifdef GDK_WINDOWING_QUARTZ
if (priv->tooltip_text)
- markup = g_markup_escape_text (priv->tooltip_text);
+ markup = g_markup_escape_text (priv->tooltip_text, -1);
#endif
return markup;