diff 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
line wrap: on
line diff
--- a/src/session.c	Thu Oct 27 20:22:27 2005 +0000
+++ b/src/session.c	Thu Oct 27 20:43:43 2005 +0000
@@ -165,7 +165,7 @@
 
 /* SM callback handlers */
 
-void session_save_yourself(SmcConn conn, SmPointer data, int save_type,
+static void session_save_yourself(SmcConn conn, SmPointer data, int save_type,
        Bool shutdown, int interact_style, Bool fast) {
 	if (had_first_save == FALSE && save_type == SmSaveLocal &&
 	      interact_style == SmInteractStyleNone && !shutdown &&
@@ -192,18 +192,18 @@
 	SmcSaveYourselfDone(conn, True);
 }
 
-void session_die(SmcConn conn, SmPointer data) {
+static void session_die(SmcConn conn, SmPointer data) {
 	gaim_debug(GAIM_DEBUG_INFO, "Session Management",
 			   "Received die\n");
 	gaim_core_quit();
 }
 
-void session_save_complete(SmcConn conn, SmPointer data) {
+static void session_save_complete(SmcConn conn, SmPointer data) {
 	gaim_debug(GAIM_DEBUG_INFO, "Session Management",
 			   "Received save_complete\n");
 }
 
-void session_shutdown_cancelled(SmcConn conn, SmPointer data) {
+static void session_shutdown_cancelled(SmcConn conn, SmPointer data) {
 	gaim_debug(GAIM_DEBUG_INFO, "Session Management",
 			   "Received shutdown_cancelled\n");
 }