From d1604853526174e9d6af77e885c79aec657ab706 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 26 Aug 2013 21:45:26 -0500 Subject: Build deps no longer required --- debian/control | 6 ------ 1 file changed, 6 deletions(-) diff --git a/debian/control b/debian/control index 47d4c0e..164cded 100644 --- a/debian/control +++ b/debian/control @@ -10,14 +10,8 @@ Build-Depends: debhelper (>= 9), gobject-introspection (>= 0.9.12-4~), gtk-doc-tools, intltool, - libdbus-glib-1-dev, - libdbusmenu-glib-dev (>= 0.5.90), - libdbusmenu-gtk3-dev (>= 0.5.90), libgirepository1.0-dev (>= 0.9.12), libgtest-dev, - libgtk-3-dev (>= 3.5.18), - libindicator3-dev, - libtelepathy-glib-dev (>= 0.9.0), python3-dbusmock, valac, Standards-Version: 3.9.3 -- cgit v1.2.3 From c85f55d7ac5d890f3eb0f623f427566dace26ebe Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 26 Aug 2013 21:46:33 -0500 Subject: Dropping libs from configure as well --- configure.ac | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index e67b66a..ab5829a 100644 --- a/configure.ac +++ b/configure.ac @@ -38,17 +38,12 @@ AC_PROG_CXX # Dependencies ########################### -GTK_REQUIRED_VERSION=3.5.18 GIO_UNIX_REQUIRED_VERSION=2.33.10 -INDICATOR_REQUIRED_VERSION=0.3.19 GLIB_REQUIRED_VERSION=2.35.4 INTROSPECTION_REQUIRED_VERSION=1.32.0 -PKG_CHECK_MODULES(APPLET, gtk+-3.0 >= $GTK_REQUIRED_VERSION - gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION - indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION - glib-2.0 >= $GLIB_REQUIRED_VERSION - gmodule-2.0 >= $GLIB_REQUIRED_VERSION) +PKG_CHECK_MODULES(APPLET, gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION + glib-2.0 >= $GLIB_REQUIRED_VERSION) PKG_CHECK_MODULES(GIO, gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION) -- cgit v1.2.3 From 4ad5794ab0dd8f72aee4b2b12a8c128c1b8d9da2 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 26 Aug 2013 21:49:57 -0500 Subject: Dropping launch context so we don't have to include GDK --- src/app-section.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/app-section.c b/src/app-section.c index a741172..7d41c27 100644 --- a/src/app-section.c +++ b/src/app-section.c @@ -25,7 +25,6 @@ with this program. If not, see . #include "config.h" #endif -#include #include #include #include @@ -290,17 +289,6 @@ app_section_finalize (GObject *object) G_OBJECT_CLASS (app_section_parent_class)->dispose (object); } -static GAppLaunchContext * -get_launch_context (guint32 timestamp) -{ - GdkDisplay *display = gdk_display_get_default(); - GdkAppLaunchContext *launch_context = gdk_display_get_app_launch_context (display); - - gdk_app_launch_context_set_timestamp (launch_context, timestamp); - - return G_APP_LAUNCH_CONTEXT (launch_context); -} - /* Respond to one of the shortcuts getting clicked on. */ static void nick_activate_cb (GSimpleAction *action, @@ -526,16 +514,13 @@ activate_cb (GSimpleAction *action, AppSection * mi = APP_SECTION (userdata); AppSectionPrivate * priv = mi->priv; GError *error = NULL; - GAppLaunchContext *launch_context = get_launch_context (g_variant_get_uint32 (param)); - if (!g_app_info_launch (G_APP_INFO (priv->appinfo), NULL, launch_context, &error)) { + if (!g_app_info_launch (G_APP_INFO (priv->appinfo), NULL, NULL, &error)) { g_warning("Unable to execute application for desktop file '%s': %s", g_desktop_app_info_get_filename (priv->appinfo), error->message); g_error_free (error); } - - g_object_unref (launch_context); } static void -- cgit v1.2.3 From d355442ae1233984a6051cc1e259e7cfe15619d3 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 26 Aug 2013 21:52:55 -0500 Subject: Use the local version instead of the version from libindicator --- src/app-section.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app-section.c b/src/app-section.c index 7d41c27..1a475f4 100644 --- a/src/app-section.c +++ b/src/app-section.c @@ -28,7 +28,7 @@ with this program. If not, see . #include #include #include -#include +#include "indicator-desktop-shortcuts.h" #include "app-section.h" #include "dbus-data.h" #include "gmenuutils.h" -- cgit v1.2.3