[nautilus-actions] FmaIContext: get rid of HAVE_DBUS_GLIB conditionnal (todo #55)
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] FmaIContext: get rid of HAVE_DBUS_GLIB conditionnal (todo #55)
- Date: Wed, 15 Feb 2017 23:02:34 +0000 (UTC)
commit b1c8303768a880029c7441f00deef6846dd48a5d
Author: Pierre Wieser <pwieser trychlos org>
Date: Wed Feb 15 20:34:57 2017 +0100
FmaIContext: get rid of HAVE_DBUS_GLIB conditionnal (todo #55)
src/core/fma-icontext.c | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/src/core/fma-icontext.c b/src/core/fma-icontext.c
index 91f4940..43f521e 100644
--- a/src/core/fma-icontext.c
+++ b/src/core/fma-icontext.c
@@ -602,25 +602,6 @@ is_candidate_for_show_if_registered( const FMAIContext *object, guint target, GL
if( name && strlen( name )){
ok = FALSE;
-#ifdef HAVE_GDBUS
-#else
-# ifdef HAVE_DBUS_GLIB
- GError *error = NULL;
- DBusGConnection *connection = dbus_g_bus_get( DBUS_BUS_SESSION, &error );
-
- if( !connection ){
- if( error ){
- g_warning( "%s: %s", thisfn, error->message );
- g_error_free( error );
- }
-
- } else {
- DBusGProxy *proxy = dbus_g_proxy_new_for_name( connection, name, NULL, NULL );
- ok = ( proxy != NULL );
- dbus_g_connection_unref( connection );
- }
-# endif
-#endif
}
if( !ok ){
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]