aboutsummaryrefslogtreecommitdiff
path: root/www/screem-devel
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-04-08 06:20:36 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-04-08 06:20:36 +0000
commite200a3eb9c65612b03b287e0aa0d4201e15e0c41 (patch)
tree26b81b1812b668a0078f529f7829265a69665bdb /www/screem-devel
parentac7fd27cef24130cb6bd25bf610c6a49b4436748 (diff)
downloadports-e200a3eb9c65612b03b287e0aa0d4201e15e0c41.tar.gz
ports-e200a3eb9c65612b03b287e0aa0d4201e15e0c41.zip
Notes
Diffstat (limited to 'www/screem-devel')
-rw-r--r--www/screem-devel/files/patch-src_screem-application.c43
1 files changed, 43 insertions, 0 deletions
diff --git a/www/screem-devel/files/patch-src_screem-application.c b/www/screem-devel/files/patch-src_screem-application.c
new file mode 100644
index 000000000000..497a28321df1
--- /dev/null
+++ b/www/screem-devel/files/patch-src_screem-application.c
@@ -0,0 +1,43 @@
+--- src/screem-application.c.orig Fri Apr 8 01:54:41 2005
++++ src/screem-application.c Fri Apr 8 02:15:23 2005
+@@ -383,7 +383,7 @@ void screem_application_startup( ScreemA
+ if( conn ) {
+ dbus_connection_setup_with_g_main( conn, NULL );
+
+- if( dbus_bus_service_exists( conn, "org.screem",
++ if( dbus_bus_name_has_owner( conn, "org.screem",
+ &error ) ) {
+ message = dbus_message_new_method_call(
+ "org.screem",
+@@ -392,9 +392,10 @@ void screem_application_startup( ScreemA
+ "Open" );
+ if( start_files ) {
+ while( *start_files ) {
+- dbus_message_append_iter_init( message,
++ dbus_message_iter_init_append( message,
+ &it );
+- dbus_message_iter_append_string( &it,
++ dbus_message_iter_append_basic( &it,
++ DBUS_TYPE_STRING,
+ *start_files );
+ start_files ++;
+ }
+@@ -407,7 +408,7 @@ void screem_application_startup( ScreemA
+ return;
+
+ } else {
+- if( dbus_bus_acquire_service( conn, "org.screem",
++ if( dbus_bus_request_name( conn, "org.screem",
+ 0, &error ) != -1 ) {
+ /* acquired, listen in for
+ * org.screem stuff */
+@@ -1522,7 +1523,8 @@ static DBusHandlerResult screem_applicat
+ dbus_message_iter_init( message, &it );
+
+ add = ( ! priv->start_files );
+- while( ( uri = dbus_message_iter_get_string( &it ) ) ) {
++ while( dbus_message_iter_get_arg_type( &it ) == DBUS_TYPE_STRING ) {
++ dbus_message_iter_get_basic( &it, &uri );
+ priv->start_files = g_slist_prepend( priv->start_files, uri );
+ if( ! dbus_message_iter_next( &it ) ) {
+ break;