summaryrefslogtreecommitdiff
path: root/zea.c
diff options
context:
space:
mode:
authorPeter Hofmann <scm@uninformativ.de>2014-06-15 05:57:53 +0200
committerPeter Hofmann <scm@uninformativ.de>2014-06-15 05:57:53 +0200
commitedb6f6794f34543e9a734b30384d7a8ceb6cb465 (patch)
tree5ec87a5d66a8ee8a22d8523d2d9834a1fbe90da3 /zea.c
parentc32e64b89186c09c5d2c9f82a18e0a541dd414b4 (diff)
downloadlariza-edb6f6794f34543e9a734b30384d7a8ceb6cb465.tar.gz
Revert "Deal with race conditions while embedding"
This reverts commit c32e64b89186c09c5d2c9f82a18e0a541dd414b4. Nonsense. We read the XID from tabbed, which means tabbed must know its XID, which means there must be a window to plug-in to.
Diffstat (limited to 'zea.c')
-rw-r--r--zea.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/zea.c b/zea.c
index 22be5e8..6ffe994 100644
--- a/zea.c
+++ b/zea.c
@@ -230,15 +230,6 @@ zea_new_client(const gchar *uri)
else
{
c->win = gtk_plug_new(embed);
- while (!gtk_plug_get_embedded(GTK_PLUG(c->win)))
- {
- fprintf(stderr, "zea: Not yet embedded! Waiting a second...\n");
- sleep(1);
-
- if (c->win != NULL)
- gtk_widget_destroy(c->win);
- c->win = gtk_plug_new(embed);
- }
}
/* When using Gtk2, zea only shows a white area when run in