[gnome-power-manager] trivial: remove an ifdef that could never be FALSE
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-power-manager] trivial: remove an ifdef that could never be FALSE
- Date: Wed, 31 Mar 2010 15:03:02 +0000 (UTC)
commit 4b4a607dac9987330fd18d173892d3782d677694
Author: Richard Hughes <richard hughsie com>
Date: Wed Mar 31 15:25:43 2010 +0100
trivial: remove an ifdef that could never be FALSE
src/gpm-tray-icon.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/gpm-tray-icon.c b/src/gpm-tray-icon.c
index 853864b..c473c3e 100644
--- a/src/gpm-tray-icon.c
+++ b/src/gpm-tray-icon.c
@@ -95,11 +95,7 @@ gpm_tray_icon_set_tooltip (GpmTrayIcon *icon, const gchar *tooltip)
g_return_val_if_fail (GPM_IS_TRAY_ICON (icon), FALSE);
g_return_val_if_fail (tooltip != NULL, FALSE);
-#if GTK_CHECK_VERSION(2,15,0)
gtk_status_icon_set_tooltip_text (icon->priv->status_icon, tooltip);
-#else
- gtk_status_icon_set_tooltip (icon->priv->status_icon, tooltip);
-#endif
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]