[vino] Replace deprecated gtk_status_icon_set_tooltip
- From: Jonh Wendell <jwendell src gnome org>
- To: svn-commits-list gnome org
- Subject: [vino] Replace deprecated gtk_status_icon_set_tooltip
- Date: Sat, 2 May 2009 08:41:58 -0400 (EDT)
commit 1433f450b26072c47bf98ee40851b34f52b0f43e
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date: Mon Apr 27 00:28:23 2009 +0200
Replace deprecated gtk_status_icon_set_tooltip
Use gtk_status_icon_set_tooltip_text instead. Also bumps required gtk to 2.16 as needed for gtk_status_icon_set_tooltip_text.
GNOME Bug #578463
---
configure.in | 2 +-
server/vino-status-icon.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.in b/configure.in
index 1e09bfd..3783580 100644
--- a/configure.in
+++ b/configure.in
@@ -43,7 +43,7 @@ if test "x$enable_deprecations" = "xyes"; then
AC_SUBST(DISABLE_DEPRECATED_CFLAGS)
fi
-GTK_VERSION=2.13.1
+GTK_VERSION=2.16.0
GLIB_VERSION=2.17.0
DBUS_VERSION=1.2.3
SOUP_VERSION=2.24.0
diff --git a/server/vino-status-icon.c b/server/vino-status-icon.c
index dd3ac09..2b2b48d 100644
--- a/server/vino-status-icon.c
+++ b/server/vino-status-icon.c
@@ -117,7 +117,7 @@ vino_status_icon_update_state (VinoStatusIcon *icon)
else
visible = visible && (icon->priv->visibility == VINO_STATUS_ICON_VISIBILITY_ALWAYS);
- gtk_status_icon_set_tooltip (GTK_STATUS_ICON (icon), tooltip);
+ gtk_status_icon_set_tooltip_text (GTK_STATUS_ICON (icon), tooltip);
gtk_status_icon_set_visible (GTK_STATUS_ICON (icon), visible);
g_free (tooltip);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]