diff options
author | avl <avl@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-09-26 20:10:13 +0800 |
---|---|---|
committer | avl <avl@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-09-26 20:10:13 +0800 |
commit | aa568ea0b771ee0a4bec19652ef2e07b5b9158d4 (patch) | |
tree | 7310b4050824b1826c164d0f02974e8f297af9cf /editors/mlview/files/patch-src_mlview-service.c | |
parent | a2f8301406f9e42faacadf5459cd71e093e258e3 (diff) | |
download | marcuscom-ports-aa568ea0b771ee0a4bec19652ef2e07b5b9158d4.tar.gz marcuscom-ports-aa568ea0b771ee0a4bec19652ef2e07b5b9158d4.tar.zst marcuscom-ports-aa568ea0b771ee0a4bec19652ef2e07b5b9158d4.zip |
Add depend on libgnomeui.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13031 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'editors/mlview/files/patch-src_mlview-service.c')
-rw-r--r-- | editors/mlview/files/patch-src_mlview-service.c | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/editors/mlview/files/patch-src_mlview-service.c b/editors/mlview/files/patch-src_mlview-service.c new file mode 100644 index 000000000..c9bdba8f2 --- /dev/null +++ b/editors/mlview/files/patch-src_mlview-service.c @@ -0,0 +1,39 @@ +--- src/mlview-service.c.orig Sat Jul 23 12:10:16 2005 ++++ src/mlview-service.c Sat Jul 23 12:23:14 2005 +@@ -282,23 +282,23 @@ + service_name = g_strdup_printf ("%s.%s", + PRIVATE (a_this)->name, + tab) ; +- service_result = dbus_bus_acquire_service ++ service_result = dbus_bus_request_name + (dbus_connection, + service_name, 0, &dbus_error) ; + + switch (service_result) { +- case DBUS_SERVICE_REPLY_PRIMARY_OWNER: ++ case DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER: + /*we started the service, OK*/ + mlview_utils_trace_debug + ("Service name: %s registered\n", + service_name) ; + status = register_dbus_objects (a_this) ; + break ; +- case DBUS_SERVICE_REPLY_ALREADY_OWNER: ++ case DBUS_REQUEST_NAME_REPLY_ALREADY_OWNER: + /*we were already started as service. OK still*/ + status = MLVIEW_OK ; + break ; +- case DBUS_SERVICE_REPLY_SERVICE_EXISTS: ++ case DBUS_REQUEST_NAME_REPLY_EXISTS: + /* + * an other process has been registered under + * with the same service name. So we can't be registered +@@ -312,7 +312,7 @@ + "moment") ; + } + goto try_service_name ; +- case DBUS_SERVICE_REPLY_IN_QUEUE: ++ case DBUS_REQUEST_NAME_REPLY_IN_QUEUE: + /* + * our request is queued. (bus overcrowded ?) KO + */ |