[libdazzle] panel: drop bitfields for enums
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] panel: drop bitfields for enums
- Date: Sun, 27 Jun 2021 17:13:12 +0000 (UTC)
commit 08c4ac87f65d2be774eb0a46d7b3a0be491c2bca
Author: Christian Hergert <chergert redhat com>
Date: Sun Jun 27 10:12:44 2021 -0700
panel: drop bitfields for enums
Not really all that helpful, and just causes signed warnings on some
platforms.
Fixes #58
src/panel/dzl-dock-stack.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/panel/dzl-dock-stack.c b/src/panel/dzl-dock-stack.c
index 9fa797e..4c84141 100644
--- a/src/panel/dzl-dock-stack.c
+++ b/src/panel/dzl-dock-stack.c
@@ -32,8 +32,8 @@ typedef struct
GtkStack *stack;
DzlTabStrip *tab_strip;
GtkButton *pinned_button;
- GtkPositionType edge : 2;
- DzlTabStyle style : 2;
+ GtkPositionType edge;
+ DzlTabStyle style;
} DzlDockStackPrivate;
static void dzl_dock_stack_init_dock_item_iface (DzlDockItemInterface *iface);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]