[gnote] Remove GTK version check from tray.cpp
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Remove GTK version check from tray.cpp
- Date: Sun, 17 Apr 2011 13:31:54 +0000 (UTC)
commit 5f886fa4f48b383e3dbcfbb7ec5af0d58c884ddd
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date: Sun Apr 17 16:25:10 2011 +0300
Remove GTK version check from tray.cpp
Minimum required version of GTK is already above.
src/tray.cpp | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/tray.cpp b/src/tray.cpp
index b14ed81..ef0993e 100644
--- a/src/tray.cpp
+++ b/src/tray.cpp
@@ -401,10 +401,8 @@ namespace gnote {
, m_keybinder(new GnotePrefsKeybinder(manager, *this))
, m_context_menu(NULL)
{
-#if GTK_VERSION_GE(2,16)
gtk_status_icon_set_tooltip_text(gobj(),
tray_util_get_tooltip_text().c_str());
-#endif
Gtk::Main::signal_quit().connect(sigc::mem_fun(*this, &TrayIcon::on_exit), 1);
signal_activate().connect(sigc::mem_fun(*this, &TrayIcon::on_activate));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]