Move private widget path functions away

We don't put private functions in public headers anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=761339
This commit is contained in:
Matthias Clasen 2016-02-04 13:37:50 +01:00
parent 8d515409c6
commit 3756d92367
6 changed files with 35 additions and 5 deletions

View File

@ -560,6 +560,7 @@ gtk_private_h_sources = \
gtktreedatalist.h \
gtktreeprivate.h \
gtkwidgetprivate.h \
gtkwidgetpathprivate.h \
gtkwin32themeprivate.h \
gtkwindowprivate.h \
gtktreemenu.h \

View File

@ -18,6 +18,7 @@
#include "config.h"
#include "gtkcssnodedeclarationprivate.h"
#include "gtkwidgetpathprivate.h"
#include <string.h>

View File

@ -68,6 +68,7 @@
#include "a11y/gtkwidgetaccessible.h"
#include "gtkapplicationprivate.h"
#include "gtkgestureprivate.h"
#include "gtkwidgetpathprivate.h"
/* for the use of round() */
#include "fallback-c89.c"

View File

@ -26,6 +26,7 @@
#include "gtkstylecontextprivate.h"
#include "gtktypebuiltins.h"
#include "gtkwidget.h"
#include "gtkwidgetpathprivate.h"
/**
* SECTION:gtkwidgetpath

View File

@ -171,11 +171,6 @@ GDK_AVAILABLE_IN_ALL
gboolean gtk_widget_path_has_parent (const GtkWidgetPath *path,
GType type);
/* private API goes here */
void gtk_widget_path_iter_add_qclass (GtkWidgetPath *path,
gint pos,
GQuark qname);
G_END_DECLS

View File

@ -0,0 +1,31 @@
/* GTK - The GIMP Toolkit
* Copyright (C) 2010 Carlos Garnacho <carlosg@gnome.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GTK_WIDGET_PATH_PRIVATE_H__
#define __GTK_WIDGET_PATH_PRIVATE_H__
#include <gtk/gtkwidgetpath.h>
G_BEGIN_DECLS
void gtk_widget_path_iter_add_qclass (GtkWidgetPath *path,
gint pos,
GQuark qname);
G_END_DECLS
#endif /* __GTK_WIDGET_PATH_PRIVATE_H__ */