[gtk+/wip/matthiasc/tab-strip] Keep GtkTab private



commit 98a80b0c8fb1243e24323a457df7ff9434e756d8
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue May 31 00:22:45 2016 -0400

    Keep GtkTab private
    
    Without custom tab creation in GtkTabStrip, this no longer needs
    to be public.

 gtk/Makefile.am      |    6 +++---
 gtk/gtk.h            |    3 ---
 gtk/gtkclosabletab.h |    1 -
 gtk/gtksimpletab.h   |    1 -
 gtk/gtktab.h         |    6 ------
 5 files changed, 3 insertions(+), 14 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index beca7e8..4e32bf6 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -302,9 +302,6 @@ gtk_public_h_sources =              \
        gtkstylecontext.h       \
        gtkstyleprovider.h      \
        gtkswitch.h             \
-       gtktab.h                \
-       gtksimpletab.h          \
-       gtkclosabletab.h        \
        gtktabstrip.h           \
        gtktestutils.h          \
        gtktextattributes.h     \
@@ -563,6 +560,9 @@ gtk_private_h_sources =             \
        gtkstylecontextprivate.h \
        gtkstylepropertyprivate.h \
        gtkstyleproviderprivate.h \
+       gtktab.h                \
+       gtksimpletab.h          \
+       gtkclosabletab.h        \
        gtktextattributesprivate.h \
        gtktextbtree.h          \
        gtktextbufferprivate.h \
diff --git a/gtk/gtk.h b/gtk/gtk.h
index 488ad69..86c80b4 100644
--- a/gtk/gtk.h
+++ b/gtk/gtk.h
@@ -203,9 +203,6 @@
 #include <gtk/gtkstylecontext.h>
 #include <gtk/gtkstyleprovider.h>
 #include <gtk/gtkswitch.h>
-#include <gtk/gtktab.h>
-#include <gtk/gtksimpletab.h>
-#include <gtk/gtkclosabletab.h>
 #include <gtk/gtktabstrip.h>
 #include <gtk/gtktextattributes.h>
 #include <gtk/gtktextbuffer.h>
diff --git a/gtk/gtkclosabletab.h b/gtk/gtkclosabletab.h
index b0db247..4459742 100644
--- a/gtk/gtkclosabletab.h
+++ b/gtk/gtkclosabletab.h
@@ -29,7 +29,6 @@ G_BEGIN_DECLS
 
 typedef struct _GtkClosableTab      GtkClosableTab;
 
-GDK_AVAILABLE_IN_3_22
 GType            gtk_closable_tab_get_type   (void) G_GNUC_CONST;
 
 G_END_DECLS
diff --git a/gtk/gtksimpletab.h b/gtk/gtksimpletab.h
index 0f97206..9921e64 100644
--- a/gtk/gtksimpletab.h
+++ b/gtk/gtksimpletab.h
@@ -29,7 +29,6 @@ G_BEGIN_DECLS
 
 typedef struct _GtkSimpleTab      GtkSimpleTab;
 
-GDK_AVAILABLE_IN_3_22
 GType            gtk_simple_tab_get_type   (void) G_GNUC_CONST;
 
 G_END_DECLS
diff --git a/gtk/gtktab.h b/gtk/gtktab.h
index af5741e..2f48cb8 100644
--- a/gtk/gtktab.h
+++ b/gtk/gtktab.h
@@ -53,20 +53,14 @@ struct _GtkTabClass
   void (*_gtk_reserved6) (void);
 };
 
-GDK_AVAILABLE_IN_3_22
 GType            gtk_tab_get_type   (void) G_GNUC_CONST;
 
-GDK_AVAILABLE_IN_3_22
 const gchar     *gtk_tab_get_title  (GtkTab          *self);
-GDK_AVAILABLE_IN_3_22
 void             gtk_tab_set_title  (GtkTab          *self,
                                      const gchar     *title);
-GDK_AVAILABLE_IN_3_22
 GtkWidget       *gtk_tab_get_widget (GtkTab          *self);
-GDK_AVAILABLE_IN_3_22
 void             gtk_tab_set_widget (GtkTab          *self,
                                      GtkWidget       *widget);
-GDK_AVAILABLE_IN_3_22
 void             gtk_tab_set_child  (GtkTab          *self,
                                      GtkWidget       *child);
 


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