[Xfce4-commits] <xfce4-session:aliov/hal-deprecation> Remove no longer needed xfsm_dbus_name_has_owner function.
Ali Abdallah
noreply at xfce.org
Wed Feb 3 11:12:02 CET 2010
Updating branch refs/heads/aliov/hal-deprecation
to 3d6e21cd734b36d642cbe036042efb5600525665 (commit)
from 6cf1dbe497a54589353fb3c1160099dd51bfa7c1 (commit)
commit 3d6e21cd734b36d642cbe036042efb5600525665
Author: Ali Abdallah <aliov at xfce.org>
Date: Wed Feb 3 11:09:23 2010 +0100
Remove no longer needed xfsm_dbus_name_has_owner function.
xfce4-session/xfsm-global.c | 28 ----------------------------
xfce4-session/xfsm-global.h | 3 ---
2 files changed, 0 insertions(+), 31 deletions(-)
diff --git a/xfce4-session/xfsm-global.c b/xfce4-session/xfsm-global.c
index 649535a..c213482 100644
--- a/xfce4-session/xfsm-global.c
+++ b/xfce4-session/xfsm-global.c
@@ -187,31 +187,3 @@ xfsm_g_value_free (GValue *value)
}
}
-/**
- * xfsm_dbus_name_has_owner:
- * @bus: a #DBusConnection of type DBUS_BUS_SYSTEM to ask the system bus
- * or DBUS_BUS_SESSION to ask the session bus of a name.
- * @name: a valid bus name
- *
- *
- * Returns: FALSE if no owner was found, TRUE otherwise
- **/
-gboolean
-xfsm_dbus_name_has_owner (DBusConnection *bus, const gchar *name)
-{
- DBusError error;
- gboolean ret;
-
- dbus_error_init (&error);
-
- ret = dbus_bus_name_has_owner (bus, name, &error);
-
- if ( dbus_error_is_set (&error) )
- {
- g_warning ("dbus_bus_name_has_owner failed : %s", error.message);
- dbus_error_free (&error);
- return FALSE;
- }
-
- return ret;
-}
diff --git a/xfce4-session/xfsm-global.h b/xfce4-session/xfsm-global.h
index 5e4609c..08adfef 100644
--- a/xfce4-session/xfsm-global.h
+++ b/xfce4-session/xfsm-global.h
@@ -84,7 +84,4 @@ GdkPixbuf *xfsm_load_session_preview (const gchar *name);
GValue *xfsm_g_value_new (GType gtype);
void xfsm_g_value_free (GValue *value);
-gboolean xfsm_dbus_name_has_owner (DBusConnection *bus,
- const gchar *name);
-
#endif /* !__XFSM_GLOBAL_H__ */
More information about the Xfce4-commits
mailing list