[gtk+] snapshot: Convert GtkExpander
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] snapshot: Convert GtkExpander
- Date: Tue, 15 Nov 2016 16:58:22 +0000 (UTC)
commit d38cf9fee2a293a2b67b70bf82e507c723c105b3
Author: Benjamin Otte <otte redhat com>
Date: Tue Nov 15 16:38:20 2016 +0100
snapshot: Convert GtkExpander
gtk/gtkexpander.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c
index 4540569..ecadd02 100644
--- a/gtk/gtkexpander.c
+++ b/gtk/gtkexpander.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]