mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-02 17:00:19 +00:00
snapshot: Convert GtkExpander
This commit is contained in:
parent
82eb223c58
commit
d38cf9fee2
@ -180,8 +180,8 @@ static void gtk_expander_size_allocate (GtkWidget *widget,
|
||||
GtkAllocation *allocation);
|
||||
static void gtk_expander_map (GtkWidget *widget);
|
||||
static void gtk_expander_unmap (GtkWidget *widget);
|
||||
static GskRenderNode *gtk_expander_get_render_node (GtkWidget *widget,
|
||||
GskRenderer *renderer);
|
||||
static void gtk_expander_snapshot (GtkWidget *widget,
|
||||
GtkSnapshot *snapshot);
|
||||
|
||||
static gboolean gtk_expander_enter_notify (GtkWidget *widget,
|
||||
GdkEventCrossing *event);
|
||||
@ -263,7 +263,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
|
||||
widget_class->size_allocate = gtk_expander_size_allocate;
|
||||
widget_class->map = gtk_expander_map;
|
||||
widget_class->unmap = gtk_expander_unmap;
|
||||
widget_class->get_render_node = gtk_expander_get_render_node;
|
||||
widget_class->snapshot = gtk_expander_snapshot;
|
||||
widget_class->enter_notify_event = gtk_expander_enter_notify;
|
||||
widget_class->leave_notify_event = gtk_expander_leave_notify;
|
||||
widget_class->focus = gtk_expander_focus;
|
||||
@ -624,11 +624,11 @@ gtk_expander_unmap (GtkWidget *widget)
|
||||
gtk_widget_unmap (priv->label_widget);
|
||||
}
|
||||
|
||||
static GskRenderNode *
|
||||
gtk_expander_get_render_node (GtkWidget *widget,
|
||||
GskRenderer *renderer)
|
||||
static void
|
||||
gtk_expander_snapshot (GtkWidget *widget,
|
||||
GtkSnapshot *snapshot)
|
||||
{
|
||||
return gtk_css_gadget_get_render_node (GTK_EXPANDER (widget)->priv->gadget, renderer, FALSE);
|
||||
gtk_css_gadget_snapshot (GTK_EXPANDER (widget)->priv->gadget, snapshot);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user