[libadwaita/wip/exalm/tab-hover: 5/7] tab: Remove hover state handling
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/tab-hover: 5/7] tab: Remove hover state handling
- Date: Tue, 26 Oct 2021 11:51:11 +0000 (UTC)
commit 294574e032764f154e62e174fe676ae35c9c1fc9
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sun Oct 24 01:23:25 2021 +0500
tab: Remove hover state handling
Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/168
src/adw-tab.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/src/adw-tab.c b/src/adw-tab.c
index c295c3b5..16d24e5b 100644
--- a/src/adw-tab.c
+++ b/src/adw-tab.c
@@ -110,10 +110,7 @@ update_state (AdwTab *self)
gboolean show_close;
new_state = gtk_widget_get_state_flags (GTK_WIDGET (self)) &
- ~(GTK_STATE_FLAG_PRELIGHT | GTK_STATE_FLAG_CHECKED);
-
- if (self->dragging)
- new_state |= GTK_STATE_FLAG_PRELIGHT;
+ ~GTK_STATE_FLAG_CHECKED;
if (self->selected || self->dragging)
new_state |= GTK_STATE_FLAG_CHECKED;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]