gnome-session r4893 - branches/dbus_based/gnome-session



Author: matthiasc
Date: Wed Jul 30 14:01:14 2008
New Revision: 4893
URL: http://svn.gnome.org/viewvc/gnome-session?rev=4893&view=rev

Log:
Even better


Modified:
   branches/dbus_based/gnome-session/gsm-client.c

Modified: branches/dbus_based/gnome-session/gsm-client.c
==============================================================================
--- branches/dbus_based/gnome-session/gsm-client.c	(original)
+++ branches/dbus_based/gnome-session/gsm-client.c	Wed Jul 30 14:01:14 2008
@@ -381,7 +381,7 @@
                                    guint     *hint,
                                    GError   **error)
 {
-        g_return_val_if_fail (GSM_IS_CLIENT (client), GSM_CLIENT_RESTART_NEVER);
+        g_return_val_if_fail (GSM_IS_CLIENT (client), FALSE);
 
         *hint = GSM_CLIENT_GET_CLASS (client)->impl_get_restart_style_hint (client);
 
@@ -393,7 +393,7 @@
                        guint     *status,
                        GError   **error)
 {
-        g_return_val_if_fail (GSM_IS_CLIENT (client), GSM_CLIENT_UNREGISTERED);
+        g_return_val_if_fail (GSM_IS_CLIENT (client), FALSE);
 
         *status = client->priv->status;
 
@@ -405,7 +405,7 @@
                                 guint      *pid,
                                 GError    **error)
 {
-        g_return_val_if_fail (GSM_IS_CLIENT (client), 0);
+        g_return_val_if_fail (GSM_IS_CLIENT (client), FALSE);
 
         *pid = GSM_CLIENT_GET_CLASS (client)->impl_get_unix_process_id (client);
 



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