[gtk+/popover-menu: 1/6] Make GtkModelButton public
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/popover-menu: 1/6] Make GtkModelButton public
- Date: Fri, 24 Oct 2014 12:40:29 +0000 (UTC)
commit 913cca6344164bb30dabe1fb640f64b247d88b36
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Oct 23 21:31:17 2014 -0400
Make GtkModelButton public
gtk/Makefile.am | 2 +-
gtk/gtk.h | 1 +
gtk/gtkmodelbutton.h | 6 ++++++
3 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index b840f16..a349ecb 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -391,6 +391,7 @@ gtk_public_h_sources = \
gtkmenushell.h \
gtkmenutoolbutton.h \
gtkmessagedialog.h \
+ gtkmodelbutton.h \
gtkmodules.h \
gtkmountoperation.h \
gtknotebook.h \
@@ -623,7 +624,6 @@ gtk_private_h_sources = \
gtkmenutrackeritem.h \
gtkmnemonichash.h \
gtkmodelmenuitem.h \
- gtkmodelbutton.h \
gtkmodifierstyle.h \
gtkmodulesprivate.h \
gtkmountoperationprivate.h \
diff --git a/gtk/gtk.h b/gtk/gtk.h
index 937a073..a65b6e6 100644
--- a/gtk/gtk.h
+++ b/gtk/gtk.h
@@ -141,6 +141,7 @@
#include <gtk/gtkmenushell.h>
#include <gtk/gtkmenutoolbutton.h>
#include <gtk/gtkmessagedialog.h>
+#include <gtk/gtkmodelbutton.h>
#include <gtk/gtkmodules.h>
#include <gtk/gtkmountoperation.h>
#include <gtk/gtknotebook.h>
diff --git a/gtk/gtkmodelbutton.h b/gtk/gtkmodelbutton.h
index b3963ba..c993ce4 100644
--- a/gtk/gtkmodelbutton.h
+++ b/gtk/gtkmodelbutton.h
@@ -20,6 +20,10 @@
#ifndef __GTK_MODEL_BUTTON_H__
#define __GTK_MODEL_BUTTON_H__
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
#include <gtk/gtkwidget.h>
G_BEGIN_DECLS
@@ -32,8 +36,10 @@ G_BEGIN_DECLS
typedef struct _GtkModelButton GtkModelButton;
+GDK_AVAILABLE_IN_3_16
GType gtk_model_button_get_type (void) G_GNUC_CONST;
+GDK_AVAILABLE_IN_3_16
GtkWidget * gtk_model_button_new (void);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]