iconfactory: Move private functions into private header

This commit is contained in:
Benjamin Otte 2015-12-07 19:22:48 +01:00
parent ee6e685478
commit 88a490fe58
4 changed files with 28 additions and 5 deletions

View File

@ -42,6 +42,7 @@ deprecated_h_sources = \
deprecated_private_h_sources = \
deprecated/gtkgradientprivate.h \
deprecated/gtkiconfactoryprivate.h \
deprecated/gtknumerableiconprivate.h \
deprecated/gtkstylepropertiesprivate.h \
deprecated/gtksymboliccolorprivate.h

View File

@ -221,11 +221,6 @@ GtkStateType gtk_icon_source_get_state (const GtkIconSource *
GDK_DEPRECATED_IN_3_10
GtkIconSize gtk_icon_source_get_size (const GtkIconSource *source);
/* ignore this */
GList* _gtk_icon_factory_list_ids (void);
void _gtk_icon_factory_ensure_default_icons (void);
G_END_DECLS
#endif /* __GTK_ICON_FACTORY_H__ */

View File

@ -0,0 +1,26 @@
/* GTK - The GIMP Toolkit
* Copyright (C) 2015 Benjamin Otte <otte@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_ICON_FACTORY_PRIVATE_H__
#define __GTK_ICON_FACTORY_PRIVATE_H__
#include <gtk/deprecated/gtkiconfactory.h>
GList * _gtk_icon_factory_list_ids (void);
void _gtk_icon_factory_ensure_default_icons (void);
#endif /* __GTK_ICON_FACTORY_PRIVATE_H__ */

View File

@ -31,6 +31,7 @@
#include "gtkprivate.h"
#include "gtkstock.h"
#include "gtkiconfactory.h"
#include "gtkiconfactoryprivate.h"
#include "gtkintl.h"
/**