From b06fa99e9964e6539ba1a02f0f036d58fe2aba37 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 24 Apr 2013 20:28:57 -0400 Subject: [PATCH] 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 dc1fd41b80..f2ec17026e 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 e8a7af94cb..e9712fa2b8 100644 --- a/gtk/gtk.h +++ b/gtk/gtk.h @@ -145,6 +145,7 @@ #include #include #include +#include #include #include #include diff --git a/gtk/gtkpathbar.h b/gtk/gtkpathbar.h index bcaad75fc3..c67c92bb0a 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 can be included directly." +#endif + +#include +#include G_BEGIN_DECLS