gnome-bluetooth r458 - trunk/sendto
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-bluetooth r458 - trunk/sendto
- Date: Thu, 5 Mar 2009 00:12:12 +0000 (UTC)
Author: hadess
Date: Thu Mar 5 00:12:12 2009
New Revision: 458
URL: http://svn.gnome.org/viewvc/gnome-bluetooth?rev=458&view=rev
Log:
Fix sendto again (#573145)
Modified:
trunk/sendto/main.c
Modified: trunk/sendto/main.c
==============================================================================
--- trunk/sendto/main.c (original)
+++ trunk/sendto/main.c Thu Mar 5 00:12:12 2009
@@ -369,12 +369,12 @@
GTK_RESPONSE_CLOSE, TRUE);
}
-static void session_connect_error (DBusGProxy *proxy, DBusGProxy *session_obj, const char *error_name,
+static void session_connect_error (DBusGProxy *proxy, const char *session_obj, const char *error_name,
const char *error_message, gpointer user_data)
{
gchar *text;
- if (session_obj != session_proxy)
+ if (strcmp (session_obj, dbus_g_proxy_get_path (session_proxy)) != 0)
return;
gtk_progress_bar_set_text(GTK_PROGRESS_BAR(progress),
@@ -388,9 +388,9 @@
GTK_RESPONSE_CLOSE, TRUE);
}
-static void session_connected(DBusGProxy *proxy, DBusGProxy *session_obj, gpointer user_data)
+static void session_connected(DBusGProxy *proxy, const char *session_obj, gpointer user_data)
{
- if (session_obj != session_proxy)
+ if (strcmp (session_obj, dbus_g_proxy_get_path (session_proxy)) != 0)
return;
gtk_progress_bar_set_text(GTK_PROGRESS_BAR(progress), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]