aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service.c
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2013-04-03 17:40:56 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2013-04-03 17:40:56 +0200
commit23d93b9cf3dceac06f26bf741f9128d556244cbc (patch)
tree14eb378890366c748637c3fc620562e486582ba2 /src/messages-service.c
parent39fc49c52e23b9bb0964fc90716e63a3a4129c38 (diff)
downloadayatana-indicator-messages-23d93b9cf3dceac06f26bf741f9128d556244cbc.tar.gz
ayatana-indicator-messages-23d93b9cf3dceac06f26bf741f9128d556244cbc.tar.bz2
ayatana-indicator-messages-23d93b9cf3dceac06f26bf741f9128d556244cbc.zip
AppSection: use the GAppLaunchContext with event timestamp when launching an app
Diffstat (limited to 'src/messages-service.c')
-rw-r--r--src/messages-service.c2
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 */