[gtk+/wip/gbsneto/hiding-box: 23/23] hiding-box: expose publicly, update macros



commit 0d67a19173f69fa5ad121fa1f63734a3fa65dc02
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sat Apr 23 20:54:17 2016 -0300

    hiding-box: expose publicly, update macros
    
    This commit update the GtkHidingBox widget to
    3.22 and exposes it publicly.

 gtk/Makefile.am                               |    2 +-
 gtk/gtkhidingbox.c                            |    2 +-
 gtk/{gtkhidingboxprivate.h => gtkhidingbox.h} |   15 ++++++++-------
 3 files changed, 10 insertions(+), 9 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 009354b..6783afe 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -215,6 +215,7 @@ gtk_public_h_sources =              \
        gtkglarea.h             \
        gtkgrid.h               \
        gtkheaderbar.h          \
+       gtkhidingbox.h          \
        gtkicontheme.h          \
        gtkiconview.h           \
        gtkimage.h              \
@@ -486,7 +487,6 @@ gtk_private_h_sources =             \
        gtkgestureswipeprivate.h        \
        gtkgesturezoomprivate.h \
        gtkheaderbarprivate.h   \
-       gtkhidingboxprivate.h   \
        gtkhslaprivate.h        \
        gtkiconcache.h          \
        gtkiconhelperprivate.h  \
diff --git a/gtk/gtkhidingbox.c b/gtk/gtkhidingbox.c
index 03113ed..6c87b01 100644
--- a/gtk/gtkhidingbox.c
+++ b/gtk/gtkhidingbox.c
@@ -24,7 +24,7 @@
 
 #include "config.h"
 
-#include "gtkhidingboxprivate.h"
+#include "gtkhidingbox.h"
 #include "gtkwidgetprivate.h"
 #include "gtkintl.h"
 #include "gtksizerequest.h"
diff --git a/gtk/gtkhidingboxprivate.h b/gtk/gtkhidingbox.h
similarity index 94%
rename from gtk/gtkhidingboxprivate.h
rename to gtk/gtkhidingbox.h
index b44dc55..0bccfe8 100644
--- a/gtk/gtkhidingboxprivate.h
+++ b/gtk/gtkhidingbox.h
@@ -53,24 +53,25 @@ struct _GtkHidingBox
   GtkContainer parent_instance;
 };
 
-GDK_AVAILABLE_IN_3_20
+GDK_AVAILABLE_IN_3_22
 GType             gtk_hiding_box_get_type                (void) G_GNUC_CONST;
 
-GDK_AVAILABLE_IN_3_20
+GDK_AVAILABLE_IN_3_22
 GtkWidget        *gtk_hiding_box_new                     (void);
-GDK_AVAILABLE_IN_3_20
+
+GDK_AVAILABLE_IN_3_22
 void              gtk_hiding_box_set_spacing             (GtkHidingBox      *box,
                                                           gint               spacing);
-GDK_AVAILABLE_IN_3_20
+GDK_AVAILABLE_IN_3_22
 gint              gtk_hiding_box_get_spacing             (GtkHidingBox      *box);
 
-GDK_AVAILABLE_IN_3_20
+GDK_AVAILABLE_IN_3_22
 void              gtk_hiding_box_set_inverted            (GtkHidingBox      *box,
                                                           gboolean           inverted);
-GDK_AVAILABLE_IN_3_20
+GDK_AVAILABLE_IN_3_22
 gboolean          gtk_hiding_box_get_inverted            (GtkHidingBox      *box);
 
-GDK_AVAILABLE_IN_3_20
+GDK_AVAILABLE_IN_3_22
 GList             *gtk_hiding_box_get_overflow_children  (GtkHidingBox      *box);
 G_END_DECLS
 


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