mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
gtkwidget: Move private functions to private header
https://bugzilla.gnome.org/show_bug.cgi?id=651707
This commit is contained in:
parent
2144976341
commit
fdf979dce2
@ -110,6 +110,7 @@
|
||||
#include "gtkvscrollbar.h"
|
||||
#include "gtksettings.h"
|
||||
#include "gtkprivate.h"
|
||||
#include "gtkwidgetprivate.h"
|
||||
#include "gtkintl.h"
|
||||
#include "gtktypebuiltins.h"
|
||||
|
||||
|
@ -40,6 +40,7 @@
|
||||
#include "gtkprivate.h"
|
||||
#include "gtkbuildable.h"
|
||||
#include "gtkactivatable.h"
|
||||
#include "gtkwidgetprivate.h"
|
||||
#include "gtkintl.h"
|
||||
#include "gtktypebuiltins.h"
|
||||
|
||||
|
@ -526,8 +526,6 @@ gboolean gtk_widget_remove_accelerator (GtkWidget *widget,
|
||||
void gtk_widget_set_accel_path (GtkWidget *widget,
|
||||
const gchar *accel_path,
|
||||
GtkAccelGroup *accel_group);
|
||||
const gchar* _gtk_widget_get_accel_path (GtkWidget *widget,
|
||||
gboolean *locked);
|
||||
GList* gtk_widget_list_accel_closures (GtkWidget *widget);
|
||||
gboolean gtk_widget_can_activate_accel (GtkWidget *widget,
|
||||
guint signal_id);
|
||||
@ -938,45 +936,6 @@ GtkRequisition *gtk_requisition_new (void) G_GNUC_MALLOC;
|
||||
GtkRequisition *gtk_requisition_copy (const GtkRequisition *requisition);
|
||||
void gtk_requisition_free (GtkRequisition *requisition);
|
||||
|
||||
GdkEventExpose * _gtk_cairo_get_event (cairo_t *cr);
|
||||
|
||||
void _gtk_widget_draw_internal (GtkWidget *widget,
|
||||
cairo_t *cr,
|
||||
gboolean clip_to_size);
|
||||
void _gtk_widget_set_has_default (GtkWidget *widget,
|
||||
gboolean has_default);
|
||||
void _gtk_widget_set_has_grab (GtkWidget *widget,
|
||||
gboolean has_grab);
|
||||
void _gtk_widget_set_is_toplevel (GtkWidget *widget,
|
||||
gboolean is_toplevel);
|
||||
|
||||
void _gtk_widget_grab_notify (GtkWidget *widget,
|
||||
gboolean was_grabbed);
|
||||
|
||||
void _gtk_widget_propagate_hierarchy_changed (GtkWidget *widget,
|
||||
GtkWidget *previous_toplevel);
|
||||
void _gtk_widget_propagate_screen_changed (GtkWidget *widget,
|
||||
GdkScreen *previous_screen);
|
||||
void _gtk_widget_propagate_composited_changed (GtkWidget *widget);
|
||||
|
||||
void _gtk_widget_set_device_window (GtkWidget *widget,
|
||||
GdkDevice *device,
|
||||
GdkWindow *pointer_window);
|
||||
GdkWindow *_gtk_widget_get_device_window (GtkWidget *widget,
|
||||
GdkDevice *device);
|
||||
GList * _gtk_widget_list_devices (GtkWidget *widget);
|
||||
|
||||
void _gtk_widget_synthesize_crossing (GtkWidget *from,
|
||||
GtkWidget *to,
|
||||
GdkDevice *device,
|
||||
GdkCrossingMode mode);
|
||||
|
||||
gpointer _gtk_widget_peek_request_cache (GtkWidget *widget);
|
||||
|
||||
void _gtk_widget_buildable_finish_accelerator (GtkWidget *widget,
|
||||
GtkWidget *toplevel,
|
||||
gpointer user_data);
|
||||
|
||||
gboolean gtk_widget_in_destruction (GtkWidget *widget);
|
||||
|
||||
GtkStyleContext * gtk_widget_get_style_context (GtkWidget *widget);
|
||||
|
@ -115,6 +115,48 @@ gboolean _gtk_widget_get_translation_to_window (GtkWidget *widget,
|
||||
int *y);
|
||||
void _gtk_widget_free_cached_sizes (GtkWidget *widget);
|
||||
|
||||
const gchar* _gtk_widget_get_accel_path (GtkWidget *widget,
|
||||
gboolean *locked);
|
||||
|
||||
GdkEventExpose * _gtk_cairo_get_event (cairo_t *cr);
|
||||
|
||||
void _gtk_widget_draw_internal (GtkWidget *widget,
|
||||
cairo_t *cr,
|
||||
gboolean clip_to_size);
|
||||
void _gtk_widget_set_has_default (GtkWidget *widget,
|
||||
gboolean has_default);
|
||||
void _gtk_widget_set_has_grab (GtkWidget *widget,
|
||||
gboolean has_grab);
|
||||
void _gtk_widget_set_is_toplevel (GtkWidget *widget,
|
||||
gboolean is_toplevel);
|
||||
|
||||
void _gtk_widget_grab_notify (GtkWidget *widget,
|
||||
gboolean was_grabbed);
|
||||
|
||||
void _gtk_widget_propagate_hierarchy_changed (GtkWidget *widget,
|
||||
GtkWidget *previous_toplevel);
|
||||
void _gtk_widget_propagate_screen_changed (GtkWidget *widget,
|
||||
GdkScreen *previous_screen);
|
||||
void _gtk_widget_propagate_composited_changed (GtkWidget *widget);
|
||||
|
||||
void _gtk_widget_set_device_window (GtkWidget *widget,
|
||||
GdkDevice *device,
|
||||
GdkWindow *pointer_window);
|
||||
GdkWindow * _gtk_widget_get_device_window (GtkWidget *widget,
|
||||
GdkDevice *device);
|
||||
GList * _gtk_widget_list_devices (GtkWidget *widget);
|
||||
|
||||
void _gtk_widget_synthesize_crossing (GtkWidget *from,
|
||||
GtkWidget *to,
|
||||
GdkDevice *device,
|
||||
GdkCrossingMode mode);
|
||||
|
||||
gpointer _gtk_widget_peek_request_cache (GtkWidget *widget);
|
||||
|
||||
void _gtk_widget_buildable_finish_accelerator (GtkWidget *widget,
|
||||
GtkWidget *toplevel,
|
||||
gpointer user_data);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_WIDGET_PRIVATE_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user