diff options
author | Stefano Karapetsas <[email protected]> | 2012-11-16 05:09:45 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-11-16 05:09:45 -0800 |
commit | bc18e5b352952b6365e5dff9de0f02f03f8efb13 (patch) | |
tree | 75c1b70532853914102d5272de8dacc61342c5a5 /src/obexpush.c | |
parent | 85ab680ab5b17c84c3b62c59e830e532b03df09a (diff) | |
parent | 2a7396735127cf392c93bd74a4e39c2f65bf1ded (diff) | |
download | mate-user-share-bc18e5b352952b6365e5dff9de0f02f03f8efb13.tar.bz2 mate-user-share-bc18e5b352952b6365e5dff9de0f02f03f8efb13.tar.xz |
Merge pull request #5 from jasmineaura/develop
improve the sharebar, make it an GtkInfoBar, and some fixes
Diffstat (limited to 'src/obexpush.c')
-rw-r--r-- | src/obexpush.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/obexpush.c b/src/obexpush.c index 2ad1adb..e458e6b 100644 --- a/src/obexpush.c +++ b/src/obexpush.c @@ -81,15 +81,10 @@ notification_launch_action_on_file_cb (NotifyNotification *notification, g_get_current_time (&val); -#if GTK_CHECK_VERSION(2,14,0) ctx = G_APP_LAUNCH_CONTEXT (gdk_app_launch_context_new ()); screen = gdk_screen_get_default (); gdk_app_launch_context_set_screen (GDK_APP_LAUNCH_CONTEXT (ctx), screen); gdk_app_launch_context_set_timestamp (GDK_APP_LAUNCH_CONTEXT (ctx), val.tv_sec); -#else - ctx = NULL; - screen = NULL; -#endif /* We launch the file viewer for the file */ if (g_str_equal (action, "display") != FALSE) { @@ -219,7 +214,7 @@ device_is_authorised (const char *bdaddr) char *device_path; GHashTable *props; - g_message ("checking adapter %s", g_ptr_array_index (adapters, i)); + g_debug ("checking adapter %s", (gchar *) g_ptr_array_index (adapters, i)); adapter = dbus_g_proxy_new_for_name (connection, "org.bluez", g_ptr_array_index (adapters, i), "org.bluez.Adapter"); |