forked from AuroraMiddleware/gtk
Add a gtklabelprivate.h header
For now, move the few private functions from gtklabel.h here.
This commit is contained in:
parent
3c5bb9722b
commit
c6d9f82916
@ -486,6 +486,7 @@ gtk_private_h_sources = \
|
|||||||
gtkimcontextsimpleseqs.h \
|
gtkimcontextsimpleseqs.h \
|
||||||
gtkintl.h \
|
gtkintl.h \
|
||||||
gtkkeyhash.h \
|
gtkkeyhash.h \
|
||||||
|
gtklabelprivate.h \
|
||||||
gtklockbuttonprivate.h \
|
gtklockbuttonprivate.h \
|
||||||
gtkmenubuttonprivate.h \
|
gtkmenubuttonprivate.h \
|
||||||
gtkmenuprivate.h \
|
gtkmenuprivate.h \
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
#include <gtk/gtkpango.h>
|
#include <gtk/gtkpango.h>
|
||||||
#include "gtkwidgetprivate.h"
|
#include "gtkwidgetprivate.h"
|
||||||
|
#include "gtklabelprivate.h"
|
||||||
#include "gtklabelaccessible.h"
|
#include "gtklabelaccessible.h"
|
||||||
|
|
||||||
struct _GtkLabelAccessiblePrivate
|
struct _GtkLabelAccessiblePrivate
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "gtklabel.h"
|
#include "gtklabel.h"
|
||||||
|
#include "gtklabelprivate.h"
|
||||||
#include "gtkaccellabel.h"
|
#include "gtkaccellabel.h"
|
||||||
#include "gtkdnd.h"
|
#include "gtkdnd.h"
|
||||||
#include "gtkmarshalers.h"
|
#include "gtkmarshalers.h"
|
||||||
|
@ -214,13 +214,6 @@ GDK_AVAILABLE_IN_ALL
|
|||||||
gboolean gtk_label_get_track_visited_links (GtkLabel *label);
|
gboolean gtk_label_get_track_visited_links (GtkLabel *label);
|
||||||
|
|
||||||
|
|
||||||
/* private */
|
|
||||||
|
|
||||||
void _gtk_label_mnemonics_visible_apply_recursively (GtkWidget *widget,
|
|
||||||
gboolean mnemonics_visible);
|
|
||||||
gint _gtk_label_get_cursor_position (GtkLabel *label);
|
|
||||||
gint _gtk_label_get_selection_bound (GtkLabel *label);
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GTK_LABEL_H__ */
|
#endif /* __GTK_LABEL_H__ */
|
||||||
|
34
gtk/gtklabelprivate.h
Normal file
34
gtk/gtklabelprivate.h
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
/* GTK - The GIMP Toolkit
|
||||||
|
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
||||||
|
*
|
||||||
|
* 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_LABEL_PRIVATE_H__
|
||||||
|
#define __GTK_LABEL_PRIVATE_H__
|
||||||
|
|
||||||
|
|
||||||
|
#include <gtk/gtklabel.h>
|
||||||
|
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
void _gtk_label_mnemonics_visible_apply_recursively (GtkWidget *widget,
|
||||||
|
gboolean mnemonics_visible);
|
||||||
|
gint _gtk_label_get_cursor_position (GtkLabel *label);
|
||||||
|
gint _gtk_label_get_selection_bound (GtkLabel *label);
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GTK_LABEL_PRIVATE_H__ */
|
@ -77,6 +77,7 @@
|
|||||||
#include "gtktypebuiltins.h"
|
#include "gtktypebuiltins.h"
|
||||||
#include "gtkmodelmenuitem.h"
|
#include "gtkmodelmenuitem.h"
|
||||||
#include "gtkwidgetprivate.h"
|
#include "gtkwidgetprivate.h"
|
||||||
|
#include "gtklabelprivate.h"
|
||||||
|
|
||||||
#include "deprecated/gtktearoffmenuitem.h"
|
#include "deprecated/gtktearoffmenuitem.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user