diff options
author | raveit65 <[email protected]> | 2017-08-05 09:26:55 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-05 09:26:55 +0200 |
commit | e3bff9c0044087b5e468f7a533814aa9a734fdd1 (patch) | |
tree | e3ba5ba6e5b153be7e9d35ff5d34f6cfeaabce19 /cut-n-paste-code/libegg/eggsmclient.c | |
parent | 07a0a6ba9a536561533ac3b1b283d999f5dfd489 (diff) | |
download | caja-e3bff9c0044087b5e468f7a533814aa9a734fdd1.tar.bz2 caja-e3bff9c0044087b5e468f7a533814aa9a734fdd1.tar.xz |
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
Diffstat (limited to 'cut-n-paste-code/libegg/eggsmclient.c')
-rw-r--r-- | cut-n-paste-code/libegg/eggsmclient.c | 7 |
1 files changed, 3 insertions, 4 deletions
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); |