summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2018-10-05 13:58:29 (EDT)
committer P. J. McDermott <pj@pehjota.net>2018-10-16 16:29:42 (EDT)
commit6efaf2da55c4b84193481180bd29059af64af917 (patch)
treeaada762f8d615ae90c1772edfd12d95b08792cbd /src
parent9db01350bdd5237f97805ae10d383c19e3e08e15 (diff)
downloadmarquee-master.zip
marquee-master.tar.gz
marquee-master.tar.bz2
MqTabLabel: Comment regarding dead codeHEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/tab-label.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tab-label.c b/src/tab-label.c
index 0448c52..5a8936d 100644
--- a/src/tab-label.c
+++ b/src/tab-label.c
@@ -144,6 +144,8 @@ name_entry_key_press_event_cb(GtkEntry G_GNUC_UNUSED *entry, GdkEventKey *event,
{
switch (event->keyval) {
case GDK_KEY_Escape:
+ /* This is actually dead code, as GTK+ handles the
+ * Escape key (in the same way) already. */
gtk_widget_hide(tab_label->name_popover);
return TRUE;
case GDK_KEY_Return: