diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt index b472333e31..3f7eaf31c5 100644 --- a/docs/reference/gtk/gtk4-sections.txt +++ b/docs/reference/gtk/gtk4-sections.txt @@ -4612,7 +4612,6 @@ gtk_widget_get_allocation gtk_widget_get_allocated_baseline gtk_widget_get_allocated_size gtk_widget_get_clip -gtk_widget_set_clip gtk_widget_get_can_default gtk_widget_set_can_default gtk_widget_get_can_focus diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index f2e58d748a..ac726ab4b6 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -754,6 +754,7 @@ static gboolean event_window_is_still_viewable (const GdkEvent *event); static void gtk_widget_update_input_shape (GtkWidget *widget); static gboolean gtk_widget_class_get_visible_by_default (GtkWidgetClass *widget_class); +static void gtk_widget_set_clip (GtkWidget *widget, const GtkAllocation *clip); /* --- variables --- */ @@ -13123,10 +13124,8 @@ gtk_widget_get_clip (GtkWidget *widget, * * If this function is not called by @widget during a ::size-allocate handler, * the clip will be set to @widget's allocation. - * - * Since: 3.14 */ -void +static void gtk_widget_set_clip (GtkWidget *widget, const GtkAllocation *clip) { diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index bfaf04a586..dea23f10e1 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -750,9 +750,6 @@ GDK_AVAILABLE_IN_ALL void gtk_widget_get_allocation (GtkWidget *widget, GtkAllocation *allocation); 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, GtkAllocation *clip);