From e3bff9c0044087b5e468f7a533814aa9a734fdd1 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 5 Aug 2017 09:26:55 +0200 Subject: eggsmclient: fix a build warning because of -Wcomment Note: This depends on your compiler warnings level, i see that only if bulding with mock or fedora server. eggsmclient.c: In function 'egg_sm_client_get': eggsmclient.c:363:9: warning: "/*" within comment [-Wcomment] /*Disabling when root/not in MATE in GtkApplication builds eggsmclient.c:364:9: warning: "/*" within comment [-Wcomment] /*as egg_sm_client_set_mode must be called prior to start of main loop eggsmclient.c:365:9: warning: "/*" within comment [-Wcomment] /*to stop caja restart but this is diffcult in GtkApplication --- cut-n-paste-code/libegg/eggsmclient.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'cut-n-paste-code') diff --git a/cut-n-paste-code/libegg/eggsmclient.c b/cut-n-paste-code/libegg/eggsmclient.c index 7dc0f8a8..4886f147 100644 --- a/cut-n-paste-code/libegg/eggsmclient.c +++ b/cut-n-paste-code/libegg/eggsmclient.c @@ -360,10 +360,9 @@ egg_sm_client_get (void) if (!global_client) global_client = g_object_new (EGG_TYPE_SM_CLIENT, NULL); /*FIXME - /*Disabling when root/not in MATE in GtkApplication builds - /*as egg_sm_client_set_mode must be called prior to start of main loop - /*to stop caja restart but this is diffcult in GtkApplication - */ + Disabling when root/not in MATE in GtkApplication builds + as egg_sm_client_set_mode must be called prior to start of main loop + to stop caja restart but this is diffcult in GtkApplication */ if (geteuid () == 0 || !running_in_mate ()){ global_client = g_object_new (EGG_TYPE_SM_CLIENT, NULL); -- cgit v1.2.1