GtkTooltip: Move nonexported API to a private header
This is our standard practice nowadays.
This commit is contained in:
@ -672,6 +672,7 @@ gtk_private_h_sources = \
|
|||||||
gtktogglebuttonprivate.h \
|
gtktogglebuttonprivate.h \
|
||||||
gtktoolbarprivate.h \
|
gtktoolbarprivate.h \
|
||||||
gtktoolpaletteprivate.h \
|
gtktoolpaletteprivate.h \
|
||||||
|
gtktooltipprivate.h \
|
||||||
gtktreedatalist.h \
|
gtktreedatalist.h \
|
||||||
gtktreeprivate.h \
|
gtktreeprivate.h \
|
||||||
gtkwidgetprivate.h \
|
gtkwidgetprivate.h \
|
||||||
|
|||||||
@ -48,7 +48,7 @@
|
|||||||
#include "gtkicontheme.h"
|
#include "gtkicontheme.h"
|
||||||
#include "gtkmain.h"
|
#include "gtkmain.h"
|
||||||
#include "gtkplug.h"
|
#include "gtkplug.h"
|
||||||
#include "gtktooltip.h"
|
#include "gtktooltipprivate.h"
|
||||||
#include "gtkwindow.h"
|
#include "gtkwindow.h"
|
||||||
#include "gtkintl.h"
|
#include "gtkintl.h"
|
||||||
#include "gtkselectionprivate.h"
|
#include "gtkselectionprivate.h"
|
||||||
|
|||||||
@ -123,7 +123,7 @@
|
|||||||
#include "gtkrecentmanager.h"
|
#include "gtkrecentmanager.h"
|
||||||
#include "gtkselectionprivate.h"
|
#include "gtkselectionprivate.h"
|
||||||
#include "gtksettingsprivate.h"
|
#include "gtksettingsprivate.h"
|
||||||
#include "gtktooltip.h"
|
#include "gtktooltipprivate.h"
|
||||||
#include "gtkversion.h"
|
#include "gtkversion.h"
|
||||||
#include "gtkwidgetprivate.h"
|
#include "gtkwidgetprivate.h"
|
||||||
#include "gtkwindowprivate.h"
|
#include "gtkwindowprivate.h"
|
||||||
|
|||||||
@ -20,6 +20,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "gtktooltip.h"
|
#include "gtktooltip.h"
|
||||||
|
#include "gtktooltipprivate.h"
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@ -68,18 +68,6 @@ GDK_AVAILABLE_IN_ALL
|
|||||||
void gtk_tooltip_trigger_tooltip_query (GdkDisplay *display);
|
void gtk_tooltip_trigger_tooltip_query (GdkDisplay *display);
|
||||||
|
|
||||||
|
|
||||||
void _gtk_tooltip_focus_in (GtkWidget *widget);
|
|
||||||
void _gtk_tooltip_focus_out (GtkWidget *widget);
|
|
||||||
void _gtk_tooltip_toggle_keyboard_mode (GtkWidget *widget);
|
|
||||||
void _gtk_tooltip_handle_event (GdkEvent *event);
|
|
||||||
void _gtk_tooltip_hide (GtkWidget *widget);
|
|
||||||
|
|
||||||
GtkWidget * _gtk_widget_find_at_coords (GdkWindow *window,
|
|
||||||
gint window_x,
|
|
||||||
gint window_y,
|
|
||||||
gint *widget_x,
|
|
||||||
gint *widget_y);
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GTK_TOOLTIP_H__ */
|
#endif /* __GTK_TOOLTIP_H__ */
|
||||||
|
|||||||
49
gtk/gtktooltipprivate.h
Normal file
49
gtk/gtktooltipprivate.h
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
/* GTK - The GIMP Toolkit
|
||||||
|
* Copyright (C) 2014 Red Hat, Inc.
|
||||||
|
*
|
||||||
|
* 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/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
|
||||||
|
* file for a list of people on the GTK+ Team. See the ChangeLog
|
||||||
|
* files for a list of changes. These files are distributed with
|
||||||
|
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __GTK_TOOLTIP_PRIVATE_H__
|
||||||
|
#define __GTK_TOOLTIP_PRIVATE_H__
|
||||||
|
|
||||||
|
|
||||||
|
#include <gtk/gtktooltip.h>
|
||||||
|
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
void _gtk_tooltip_focus_in (GtkWidget *widget);
|
||||||
|
void _gtk_tooltip_focus_out (GtkWidget *widget);
|
||||||
|
void _gtk_tooltip_toggle_keyboard_mode (GtkWidget *widget);
|
||||||
|
void _gtk_tooltip_handle_event (GdkEvent *event);
|
||||||
|
void _gtk_tooltip_hide (GtkWidget *widget);
|
||||||
|
|
||||||
|
GtkWidget * _gtk_widget_find_at_coords (GdkWindow *window,
|
||||||
|
gint window_x,
|
||||||
|
gint window_y,
|
||||||
|
gint *widget_x,
|
||||||
|
gint *widget_y);
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* __GTK_TOOLTIP_PRIVATE_H__ */
|
||||||
@ -53,7 +53,7 @@
|
|||||||
#include "gtkbindings.h"
|
#include "gtkbindings.h"
|
||||||
#include "gtkprivate.h"
|
#include "gtkprivate.h"
|
||||||
#include "gtkaccessible.h"
|
#include "gtkaccessible.h"
|
||||||
#include "gtktooltip.h"
|
#include "gtktooltipprivate.h"
|
||||||
#include "gtkinvisible.h"
|
#include "gtkinvisible.h"
|
||||||
#include "gtkbuildable.h"
|
#include "gtkbuildable.h"
|
||||||
#include "gtkbuilderprivate.h"
|
#include "gtkbuilderprivate.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user