gdm r5879 - in trunk: . daemon



Author: halfline
Date: Tue Feb 26 21:11:59 2008
New Revision: 5879
URL: http://svn.gnome.org/viewvc/gdm?rev=5879&view=rev

Log:
2008-02-26  Ray Strode  <rstrode redhat com>

	* daemon/gdm-session-settings.[ch]:
	Make language and session setters non-static
	functions so there's a way to change the settings.


Modified:
   trunk/ChangeLog
   trunk/daemon/gdm-session-settings.c
   trunk/daemon/gdm-session-settings.h

Modified: trunk/daemon/gdm-session-settings.c
==============================================================================
--- trunk/daemon/gdm-session-settings.c	(original)
+++ trunk/daemon/gdm-session-settings.c	Tue Feb 26 21:11:59 2008
@@ -122,7 +122,7 @@
         }
 }
 
-static void
+void
 gdm_session_settings_set_language_name (GdmSessionSettings *settings,
                                         const char         *language_name)
 {
@@ -135,7 +135,7 @@
         }
 }
 
-static void
+void
 gdm_session_settings_set_session_name (GdmSessionSettings *settings,
                                        const char         *session_name)
 {

Modified: trunk/daemon/gdm-session-settings.h
==============================================================================
--- trunk/daemon/gdm-session-settings.h	(original)
+++ trunk/daemon/gdm-session-settings.h	Tue Feb 26 21:11:59 2008
@@ -62,5 +62,10 @@
 gboolean            gdm_session_settings_is_loaded          (GdmSessionSettings  *settings);
 char               *gdm_session_settings_get_language_name  (GdmSessionSettings *settings);
 char               *gdm_session_settings_get_session_name   (GdmSessionSettings *settings);
+void                gdm_session_settings_set_language_name  (GdmSessionSettings *settings,
+                                                             const char         *language_name);
+void                gdm_session_settings_set_session_name   (GdmSessionSettings *settings,
+                                                             const char         *session_name);
+
 G_END_DECLS
 #endif /* GDM_SESSION_SETTINGS_H */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]