Revision: 4649 http://geany.svn.sourceforge.net/geany/?rev=4649&view=rev Author: statc Date: 2010-02-07 08:30:38 +0000 (Sun, 07 Feb 2010)
Log Message: ----------- Fix alignment.
Modified Paths: -------------- branches/sm/src/sm.c
Modified: branches/sm/src/sm.c =================================================================== --- branches/sm/src/sm.c 2010-02-07 08:30:12 UTC (rev 4648) +++ branches/sm/src/sm.c 2010-02-07 08:30:38 UTC (rev 4649) @@ -63,7 +63,7 @@
static void ice_connection_watch(IceConn icecon, IcePointer client_data, Bool opening, - IcePointer *watch_data); + IcePointer *watch_data); static gboolean ice_iochannel_watch(GIOChannel * source, GIOCondition condition, gpointer data);
static SmcConn sm_connect(const char * libsm_client_id, char ** new_client_id); @@ -137,12 +137,12 @@
smc_conn = sm_connect(libsm_client_id, &new_client_id); if (!smc_conn) - return; + return;
- sm_store_props(argv0, new_client_id); - sm_set_constant_props(smc_conn); - free(new_client_id); - #endif + sm_store_props(argv0, new_client_id); + sm_set_constant_props(smc_conn); + free(new_client_id); + #endif }
@@ -265,7 +265,7 @@ gchar err[256] = ""; SmcConn smcon;
- if (!g_getenv("SESSION_MANAGER")) + if (!g_getenv("SESSION_MANAGER")) return 0;
IceAddConnectionWatch(ice_connection_watch, NULL); @@ -284,11 +284,11 @@ { g_warning("While connecting to session manager:\n%s.", err);
- IceRemoveConnectionWatch(ice_connection_watch, NULL); + IceRemoveConnectionWatch(ice_connection_watch, NULL); return 0; }
- return smcon; + return smcon; }
@@ -501,10 +501,10 @@ * @param smcon LibSM connection object. * @param client_data Client data specified when the callback was registered. * Currently it is not used. - * @param save_type Specifies the type of information that should be saved. - * @param shutdown Specifies if a shutdown is taking place. - * @param interact_style The type of interaction allowed with the user. - * @param fast If True, the client should save its state as quickly as possible. + * @param save_type Specifies the type of information that should be saved. + * @param shutdown Specifies if a shutdown is taking place. + * @param interact_style The type of interaction allowed with the user. + * @param fast If True, the client should save its state as quickly as possible. * * See libSM documentation for more details. *
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.