[gtk/wip/carlosg/implicit-grabs-on-leave: 1/2] gtkroot: Make enum a typedef



commit 56dc99a9fb533fa928303ede69964b1fd310a47f
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Feb 7 01:00:52 2020 +0100

    gtkroot: Make enum a typedef
    
    Seems a typo, and prevents building as GtkRootProperties is deemed
    to be defined multiple times.

 gtk/gtkrootprivate.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkrootprivate.h b/gtk/gtkrootprivate.h
index aae7a674a5..41f1360673 100644
--- a/gtk/gtkrootprivate.h
+++ b/gtk/gtkrootprivate.h
@@ -25,7 +25,7 @@ struct _GtkRootInterface
 
 GtkConstraintSolver *   gtk_root_get_constraint_solver  (GtkRoot *self);
 
-enum {
+typedef enum {
   GTK_ROOT_PROP_FOCUS_WIDGET,
   GTK_ROOT_NUM_PROPERTIES
 } GtkRootProperties;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]