[gtk+/pathbar: 1/8] Make GtkPathBar public
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/pathbar: 1/8] Make GtkPathBar public
- Date: Mon, 29 Apr 2013 21:04:39 +0000 (UTC)
commit b06fa99e9964e6539ba1a02f0f036d58fe2aba37
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Apr 24 20:28:57 2013 -0400
Make GtkPathBar public
Moved its header file around in Makefile.am, and added it
to gtk.h.
gtk/Makefile.am | 2 +-
gtk/gtk.h | 1 +
gtk/gtkpathbar.h | 8 ++++++--
3 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index dc1fd41..f2ec170 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -295,6 +295,7 @@ gtk_public_h_sources = \
gtkpagesetup.h \
gtkpaned.h \
gtkpapersize.h \
+ gtkpathbar.h \
gtkplacessidebar.h \
gtkplug.h \
gtkprintcontext.h \
@@ -514,7 +515,6 @@ gtk_private_h_sources = \
gtknumerableiconprivate.h \
gtkorientableprivate.h \
gtkpango.h \
- gtkpathbar.h \
gtkpressandholdprivate.h \
gtkprintoperation-private.h \
gtkprintutils.h \
diff --git a/gtk/gtk.h b/gtk/gtk.h
index e8a7af9..e9712fa 100644
--- a/gtk/gtk.h
+++ b/gtk/gtk.h
@@ -145,6 +145,7 @@
#include <gtk/gtkpagesetup.h>
#include <gtk/gtkpapersize.h>
#include <gtk/gtkpaned.h>
+#include <gtk/gtkpathbar.h>
#include <gtk/gtkplacessidebar.h>
#include <gtk/gtkprintcontext.h>
#include <gtk/gtkprintoperation.h>
diff --git a/gtk/gtkpathbar.h b/gtk/gtkpathbar.h
index bcaad75..c67c92b 100644
--- a/gtk/gtkpathbar.h
+++ b/gtk/gtkpathbar.h
@@ -18,8 +18,12 @@
#ifndef __GTK_PATH_BAR_H__
#define __GTK_PATH_BAR_H__
-#include "gtkcontainer.h"
-#include "gtkfilesystem.h"
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
+#include <gtk/gtkcontainer.h>
+#include <gtk/gtkfilesystem.h>
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]