diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2016-04-23 20:54:17 -0300 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2016-04-23 20:58:00 -0300 |
commit | 0d67a19173f69fa5ad121fa1f63734a3fa65dc02 (patch) | |
tree | 2c8cd40c6c9f82f53750753b50b08e9876d2d691 | |
parent | 5f69c236943738d3b155a9daacf2dbc79f6cbcab (diff) | |
download | gtk+-wip/gbsneto/hiding-box.tar.gz |
hiding-box: expose publicly, update macroswip/gbsneto/hiding-box
This commit update the GtkHidingBox widget to
3.22 and exposes it publicly.
-rw-r--r-- | gtk/Makefile.am | 2 | ||||
-rw-r--r-- | gtk/gtkhidingbox.c | 2 | ||||
-rw-r--r-- | gtk/gtkhidingbox.h (renamed from gtk/gtkhidingboxprivate.h) | 15 |
3 files changed, 10 insertions, 9 deletions
diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 009354b0df..6783afe8b7 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 03113ed033..6c87b01894 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 index b44dc55701..0bccfe80c5 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 |