comparison src/session.c @ 11862:f8cd06753755

[gaim-migrate @ 14153] Make "make distcheck" work, which also makes the perl plugin loader loadable when installed to a non-standard prefix (it still can't find Gaim.pm though) Add some extra warning CFLAGS if a) --enable-debug was used and b) your compiler supports them. Plug a couple of leaks The gaimrc plugin's GtkTreeView expander_size setting now works (but doesn't seem to instant-apply - should it?) staticify some functions that don't need to be exposed probably something else I forgot about committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 27 Oct 2005 20:43:43 +0000
parents bb0d7b719af2
children
comparison
equal deleted inserted replaced
11861:83e2fa10df1c 11862:f8cd06753755
163 return ret; 163 return ret;
164 } 164 }
165 165
166 /* SM callback handlers */ 166 /* SM callback handlers */
167 167
168 void session_save_yourself(SmcConn conn, SmPointer data, int save_type, 168 static void session_save_yourself(SmcConn conn, SmPointer data, int save_type,
169 Bool shutdown, int interact_style, Bool fast) { 169 Bool shutdown, int interact_style, Bool fast) {
170 if (had_first_save == FALSE && save_type == SmSaveLocal && 170 if (had_first_save == FALSE && save_type == SmSaveLocal &&
171 interact_style == SmInteractStyleNone && !shutdown && 171 interact_style == SmInteractStyleNone && !shutdown &&
172 !fast) { 172 !fast) {
173 /* this is just a dry run, spit it back */ 173 /* this is just a dry run, spit it back */
190 } 190 }
191 191
192 SmcSaveYourselfDone(conn, True); 192 SmcSaveYourselfDone(conn, True);
193 } 193 }
194 194
195 void session_die(SmcConn conn, SmPointer data) { 195 static void session_die(SmcConn conn, SmPointer data) {
196 gaim_debug(GAIM_DEBUG_INFO, "Session Management", 196 gaim_debug(GAIM_DEBUG_INFO, "Session Management",
197 "Received die\n"); 197 "Received die\n");
198 gaim_core_quit(); 198 gaim_core_quit();
199 } 199 }
200 200
201 void session_save_complete(SmcConn conn, SmPointer data) { 201 static void session_save_complete(SmcConn conn, SmPointer data) {
202 gaim_debug(GAIM_DEBUG_INFO, "Session Management", 202 gaim_debug(GAIM_DEBUG_INFO, "Session Management",
203 "Received save_complete\n"); 203 "Received save_complete\n");
204 } 204 }
205 205
206 void session_shutdown_cancelled(SmcConn conn, SmPointer data) { 206 static void session_shutdown_cancelled(SmcConn conn, SmPointer data) {
207 gaim_debug(GAIM_DEBUG_INFO, "Session Management", 207 gaim_debug(GAIM_DEBUG_INFO, "Session Management",
208 "Received shutdown_cancelled\n"); 208 "Received shutdown_cancelled\n");
209 } 209 }
210 210
211 /* utility functions stolen from Gnome-client */ 211 /* utility functions stolen from Gnome-client */