summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-07-21 14:29:31 +0200
committerraveit65 <[email protected]>2017-09-02 08:22:47 +0200
commit1599760650ffba41448f57fce09d1efb5cb7d76c (patch)
tree113850cb997e1f415e39d8e8d2e2123234d921d1
parent75e8b85cc1985066d3a0f4e2e85536df45b2e339 (diff)
downloadlibmatekbd-1599760650ffba41448f57fce09d1efb5cb7d76c.tar.bz2
libmatekbd-1599760650ffba41448f57fce09d1efb5cb7d76c.tar.xz
matekbd-status: Fix Gdk-CRITICAL warning on creating status bar icon
Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed inspired from: https://git.xfce.org/apps/xfce4-terminal/commit/?id=eff5e2d
-rw-r--r--libmatekbd/matekbd-status.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmatekbd/matekbd-status.c b/libmatekbd/matekbd-status.c
index 437e090..49ad0db 100644
--- a/libmatekbd/matekbd-status.c
+++ b/libmatekbd/matekbd-status.c
@@ -635,7 +635,8 @@ matekbd_status_init (MatekbdStatus * gki)
gki->priv = g_new0 (MatekbdStatusPrivate, 1);
/* This should give NA a hint about the order */
- gtk_status_icon_set_name (GTK_STATUS_ICON (gki), "keyboard");
+ /* commenting out fixes a Gdk-critical warning */
+/* gtk_status_icon_set_name (GTK_STATUS_ICON (gki), "keyboard"); */
xkl_debug (100, "Initiating the widget startup process for %p\n",
gki);