[gnote] Remove HAVE_CLASS_GTK__WIDGET_SIGNAL_POPUP_MENU
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Remove HAVE_CLASS_GTK__WIDGET_SIGNAL_POPUP_MENU
- Date: Sun, 5 Jun 2011 14:10:54 +0000 (UTC)
commit d373596be827dc9faf8c36004af0534c74306e4d
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date: Sat Jun 4 23:01:01 2011 +0300
Remove HAVE_CLASS_GTK__WIDGET_SIGNAL_POPUP_MENU
No longer needed macro.
configure.ac | 2 --
src/watchers.cpp | 2 --
2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 739e116..2f580b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,8 +72,6 @@ PKG_CHECK_MODULES(GCONF, [gconf-2.0])
PKG_CHECK_MODULES(PCRE, [libpcrecpp])
PKG_CHECK_MODULES(UUID, [uuid])
-AC_DEFINE(HAVE_CLASS_GTK__WIDGET_SIGNAL_POPUP_MENU, 1, [Define to 1 if class Gtk::Widget has signal_popup_menu])
-
AC_ARG_ENABLE([applet],
AS_HELP_STRING([--disable-applet],[Disable panel applet]),
[],[enable_applet=yes])
diff --git a/src/watchers.cpp b/src/watchers.cpp
index cbd53db..5b7e165 100644
--- a/src/watchers.cpp
+++ b/src/watchers.cpp
@@ -443,10 +443,8 @@ namespace gnote {
sigc::mem_fun(*this, &NoteUrlWatcher::on_button_press), false);
editor->signal_populate_popup().connect(
sigc::mem_fun(*this, &NoteUrlWatcher::on_populate_popup));
-#ifdef HAVE_CLASS_GTK__WIDGET_SIGNAL_POPUP_MENU
editor->signal_popup_menu().connect(
sigc::mem_fun(*this, &NoteUrlWatcher::on_popup_menu), false);
-#endif
}
std::string NoteUrlWatcher::get_url(const Gtk::TextIter & start, const Gtk::TextIter & end)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]