From: Guillaume Desmottes Date: Thu, 5 Aug 2010 08:57:39 +0000 (+0200) Subject: nautilus-sendto-plugin: depend on 2.31.7 when building with GTK+2 X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=410d7f6e391a3b88961fd4002a6048ca79640384 nautilus-sendto-plugin: depend on 2.31.7 when building with GTK+2 This version will have the same API that 2.90.0 so we don't have to stay compatible with the old API. --- diff --git a/configure.ac b/configure.ac index 525272e8..48dd5ea4 100644 --- a/configure.ac +++ b/configure.ac @@ -52,7 +52,7 @@ GEOCLUE_REQUIRED=0.11 ISO_CODES_REQUIRED=0.35 LIBCHAMPLAIN_GTK_REQUIRED=0.7.1 LIBCHAMPLAIN_REQUIRED=0.7.1 -NAUTILUS_SENDTO_REQUIRED=2.28.1 +NAUTILUS_SENDTO_REQUIRED=2.31.7 NAUTILUS_SENDTO_REQUIRED_GTK3=2.90.0 NETWORK_MANAGER_REQUIRED=0.7.0 WEBKIT_REQUIRED=1.1.15 @@ -466,8 +466,6 @@ if test "x$enable_nautilus_sendto" != "xno"; then nautilus-sendto >= $NAUTILUS_SENDTO_REQUIRED nautilus-sendto < 2.90.0 ], have_nst="yes", have_nst="no") - - AC_DEFINE(HAVE_OLD_NST, [], [Legacy compat mode with old nautilus-sendto] ) else PKG_CHECK_MODULES(NST, [ diff --git a/nautilus-sendto-plugin/empathy-nautilus-sendto.c b/nautilus-sendto-plugin/empathy-nautilus-sendto.c index 346624af..c480e02f 100644 --- a/nautilus-sendto-plugin/empathy-nautilus-sendto.c +++ b/nautilus-sendto-plugin/empathy-nautilus-sendto.c @@ -235,15 +235,12 @@ destroy (NstPlugin *plugin) return TRUE; } -/* Legacy from old versions (< 2.90.0) */ -#ifdef HAVE_OLD_NST static NstPluginInfo plugin_info = { "im", "empathy", N_("Instant Message (Empathy)"), GETTEXT_PACKAGE, - TRUE, NAUTILUS_CAPS_NONE, init, get_contacts_widget, @@ -251,21 +248,6 @@ NstPluginInfo plugin_info = { send_files, destroy }; -#else -static -NstPluginInfo plugin_info = { - "im", - "empathy", - N_("Instant Message (Empathy)"), - GETTEXT_PACKAGE, - NAUTILUS_CAPS_NONE, - init, - get_contacts_widget, - validate_destination, - send_files, - destroy -}; -#endif NST_INIT_PLUGIN (plugin_info)