diff options
author | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2013-04-05 14:14:30 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-04-05 14:14:30 +0000 |
commit | bf04788b8464125683d422fa90468d648ab8cfb0 (patch) | |
tree | 14eb378890366c748637c3fc620562e486582ba2 /src/messages-service.c | |
parent | 49840f6fd022938e814e301f37013897fe3d6cc7 (diff) | |
parent | 23d93b9cf3dceac06f26bf741f9128d556244cbc (diff) | |
download | ayatana-indicator-messages-bf04788b8464125683d422fa90468d648ab8cfb0.tar.gz ayatana-indicator-messages-bf04788b8464125683d422fa90468d648ab8cfb0.tar.bz2 ayatana-indicator-messages-bf04788b8464125683d422fa90468d648ab8cfb0.zip |
AppSection: use the GAppLaunchContext with event timestamp when launching an app. Fixes: https://bugs.launchpad.net/bugs/627195, https://bugs.launchpad.net/bugs/811461.
Approved by PS Jenkins bot, Lars Uebernickel.
Diffstat (limited to 'src/messages-service.c')
-rw-r--r-- | src/messages-service.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/messages-service.c b/src/messages-service.c index 48c830e..f93cf68 100644 --- a/src/messages-service.c +++ b/src/messages-service.c @@ -24,6 +24,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>. #include <config.h> #include <locale.h> #include <libindicator/indicator-service.h> +#include <gdk/gdk.h> #include <gio/gio.h> #include <gio/gdesktopappinfo.h> #include <glib/gi18n.h> @@ -622,6 +623,7 @@ main (int argc, char ** argv) GMainLoop * mainloop; IndicatorService * service; + gdk_init(&argc, &argv); mainloop = g_main_loop_new (NULL, FALSE); /* Create the Indicator Service interface */ |