widget.patch 759 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
From https://github.com/zsugabubus/evolution-on/commit/5f771627e2753febfdabd4f86230a8bfa29f0bb1

From 5f771627e2753febfdabd4f86230a8bfa29f0bb1 Mon Sep 17 00:00:00 2001
From: zsugabubus <zsugabubus@users.noreply.github.com>
Date: Mon, 3 Sep 2018 14:50:02 +0200
Subject: [PATCH] fix: remove that unnecessary `gtk_widget_show` call

---
 src/tray.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/tray.c b/src/tray.c
index 366e3e4..cea6c74 100644
--- a/src/tray.c
+++ b/src/tray.c
@@ -95,7 +95,6 @@ toggle_window()
 	if (gtk_widget_get_visible(GTK_WIDGET(on_icon.evo_window))) {
 		gtk_widget_hide(GTK_WIDGET(on_icon.evo_window));
 	} else {
-		gtk_widget_show(GTK_WIDGET(on_icon.evo_window));
 		gtkut_window_popup(GTK_WIDGET(on_icon.evo_window));
 	}