SF.net SVN: geany:[5033] branches/sm/src/sm.c

statc at users.sourceforge.net statc at xxxxx
Thu Jun 17 14:52:09 UTC 2010


Revision: 5033
          http://geany.svn.sourceforge.net/geany/?rev=5033&view=rev
Author:   statc
Date:     2010-06-17 14:52:09 +0000 (Thu, 17 Jun 2010)

Log Message:
-----------
Stupid fix to use gdk_set_sm_client_id() properly

Modified Paths:
--------------
    branches/sm/src/sm.c

Modified: branches/sm/src/sm.c
===================================================================
--- branches/sm/src/sm.c	2010-06-17 14:51:49 UTC (rev 5032)
+++ branches/sm/src/sm.c	2010-06-17 14:52:09 UTC (rev 5033)
@@ -138,12 +138,13 @@
 	if (smc_conn)
 		return;
 
-	gdk_set_sm_client_id(libsm_client_id);
 
 	smc_conn = sm_connect(libsm_client_id, &new_client_id);
 	if (!smc_conn)
 		return;
 
+	gdk_set_sm_client_id(new_client_id);
+
 	sm_store_props(argv0, new_client_id);
 	sm_set_constant_props(smc_conn);
 	free(new_client_id);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list