widget: Make _set_clip private

We don't need this anymore since clips are now reported in
size-allocate.
This commit is contained in:
Timm Bäder 2017-07-12 13:28:00 +02:00 committed by Matthias Clasen
parent 28dae5f1c2
commit 5720f2a845
3 changed files with 2 additions and 7 deletions

View File

@ -4612,7 +4612,6 @@ gtk_widget_get_allocation
gtk_widget_get_allocated_baseline gtk_widget_get_allocated_baseline
gtk_widget_get_allocated_size gtk_widget_get_allocated_size
gtk_widget_get_clip gtk_widget_get_clip
gtk_widget_set_clip
gtk_widget_get_can_default gtk_widget_get_can_default
gtk_widget_set_can_default gtk_widget_set_can_default
gtk_widget_get_can_focus gtk_widget_get_can_focus

View File

@ -754,6 +754,7 @@ static gboolean event_window_is_still_viewable (const GdkEvent *event);
static void gtk_widget_update_input_shape (GtkWidget *widget); static void gtk_widget_update_input_shape (GtkWidget *widget);
static gboolean gtk_widget_class_get_visible_by_default (GtkWidgetClass *widget_class); static gboolean gtk_widget_class_get_visible_by_default (GtkWidgetClass *widget_class);
static void gtk_widget_set_clip (GtkWidget *widget, const GtkAllocation *clip);
/* --- variables --- */ /* --- variables --- */
@ -13123,10 +13124,8 @@ gtk_widget_get_clip (GtkWidget *widget,
* *
* If this function is not called by @widget during a ::size-allocate handler, * If this function is not called by @widget during a ::size-allocate handler,
* the clip will be set to @widget's allocation. * the clip will be set to @widget's allocation.
*
* Since: 3.14
*/ */
void static void
gtk_widget_set_clip (GtkWidget *widget, gtk_widget_set_clip (GtkWidget *widget,
const GtkAllocation *clip) const GtkAllocation *clip)
{ {

View File

@ -750,9 +750,6 @@ GDK_AVAILABLE_IN_ALL
void gtk_widget_get_allocation (GtkWidget *widget, void gtk_widget_get_allocation (GtkWidget *widget,
GtkAllocation *allocation); GtkAllocation *allocation);
GDK_AVAILABLE_IN_3_14 GDK_AVAILABLE_IN_3_14
void gtk_widget_set_clip (GtkWidget *widget,
const GtkAllocation *clip);
GDK_AVAILABLE_IN_3_14
void gtk_widget_get_clip (GtkWidget *widget, void gtk_widget_get_clip (GtkWidget *widget,
GtkAllocation *clip); GtkAllocation *clip);