mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
widget: Make _set_clip private
We don't need this anymore since clips are now reported in size-allocate.
This commit is contained in:
parent
28dae5f1c2
commit
5720f2a845
@ -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
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user