[Xfce4-commits] [panel-plugins/xfce4-clipman-plugin] 01/01: clipman-history: No singleton for now
noreply at xfce.org
noreply at xfce.org
Sun Mar 29 23:54:45 CEST 2020
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository panel-plugins/xfce4-clipman-plugin.
commit 352b42146964e8ba32c11815f0795f42f3c95c8f
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Sun Mar 29 23:32:35 2020 +0200
clipman-history: No singleton for now
This commit reverts 5a08e1b84900b005d22e620ceed65c9a2258852a.
Currently there seems to be a race condition or strange error that may
lead to the application being blocked from exiting for 10 seconds by
Gtk.
---
panel-plugin/xfce4-clipman-history.c | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/panel-plugin/xfce4-clipman-history.c b/panel-plugin/xfce4-clipman-history.c
index 3bc0763..b31af93 100644
--- a/panel-plugin/xfce4-clipman-history.c
+++ b/panel-plugin/xfce4-clipman-history.c
@@ -548,7 +548,6 @@ main (gint argc, gchar *argv[])
{
GtkApplication *app;
int status;
- GError *error = NULL;
if (!clipman_history_clipman_daemon_running ())
{
@@ -560,23 +559,8 @@ main (gint argc, gchar *argv[])
/* Setup translation domain */
xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
-
app = gtk_application_new ("org.xfce.clipman.history", G_APPLICATION_FLAGS_NONE);
- g_application_register (G_APPLICATION (app), NULL, &error);
- if (error != NULL)
- {
- g_warning ("Unable to register GApplication: %s", error->message);
- g_error_free (error);
- error = NULL;
- }
-
- if (g_application_get_is_remote (G_APPLICATION (app)))
- {
- g_warning ("%s already running", argv[0]);
- return FALSE;
- }
-
g_signal_connect (app, "activate", G_CALLBACK (clipman_history_activate), NULL);
status = g_application_run (G_APPLICATION (app), argc, argv);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list