Mercurial > pidgin.yaz
comparison pidgin/gtkmain.c @ 24990:b539aaa728b3
Display rather than log the error when another instance is running.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 24 Jan 2009 03:23:05 +0000 |
parents | e096b6226517 |
children | b7d40ccd9997 1d3274111180 2a34a3f5da2e f95aa2b14bec |
comparison
equal
deleted
inserted
replaced
24989:cfb4e3dc7a23 | 24990:b539aaa728b3 |
---|---|
782 gboolean tr = TRUE; | 782 gboolean tr = TRUE; |
783 dbus_message_append_args(message, DBUS_TYPE_UINT32, &tr, DBUS_TYPE_INVALID); | 783 dbus_message_append_args(message, DBUS_TYPE_UINT32, &tr, DBUS_TYPE_INVALID); |
784 dbus_connection_send_with_reply_and_block(conn, message, -1, NULL); | 784 dbus_connection_send_with_reply_and_block(conn, message, -1, NULL); |
785 dbus_message_unref(message); | 785 dbus_message_unref(message); |
786 #endif | 786 #endif |
787 purple_debug_info("main", "exiting because another libpurple client is already running\n"); | |
788 purple_core_quit(); | 787 purple_core_quit(); |
788 g_printerr(_("Exiting because another libpurple client is already running.\n")); | |
789 #ifdef HAVE_SIGNAL_H | 789 #ifdef HAVE_SIGNAL_H |
790 g_free(segfault_message); | 790 g_free(segfault_message); |
791 #endif | 791 #endif |
792 return 0; | 792 return 0; |
793 } | 793 } |