[gtk+/wip/baedert/drawing: 238/262] widget: Remove queue_draw_child vfunc
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 238/262] widget: Remove queue_draw_child vfunc
- Date: Tue, 6 Jun 2017 09:39:43 +0000 (UTC)
commit cab127f47bdb0d36f780f5c74bd2f3bec0d03680
Author: Timm Bäder <mail baedert org>
Date: Sat May 27 14:39:54 2017 +0200
widget: Remove queue_draw_child vfunc
gtk/gtkwidget.c | 19 +++----------------
gtk/gtkwidget.h | 4 ----
2 files changed, 3 insertions(+), 20 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 7bc2212..5926552 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -705,9 +705,6 @@ static void gtk_widget_real_state_flags_changed (GtkWidget
GtkStateFlags old_state);
static void gtk_widget_real_queue_draw_region (GtkWidget *widget,
const cairo_region_t *region);
-static void gtk_widget_real_queue_draw_child (GtkWidget *widget,
- GtkWidget *child,
- const cairo_region_t *region);
static AtkObject* gtk_widget_real_get_accessible (GtkWidget *widget);
static void gtk_widget_accessible_interface_init (AtkImplementorIface *iface);
static AtkObject* gtk_widget_ref_accessible (AtkImplementor *implementor);
@@ -1132,7 +1129,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
klass->get_accessible = gtk_widget_real_get_accessible;
klass->queue_draw_region = gtk_widget_real_queue_draw_region;
- klass->queue_draw_child = gtk_widget_real_queue_draw_child;
klass->pick = gtk_widget_real_pick;
@@ -4978,11 +4974,10 @@ gtk_widget_unrealize (GtkWidget *widget)
/*****************************************
* Draw queueing.
*****************************************/
-
static void
-gtk_widget_real_queue_draw_child (GtkWidget *widget,
- GtkWidget *child,
- const cairo_region_t *child_region)
+gtk_widget_queue_draw_child (GtkWidget *widget,
+ GtkWidget *child,
+ const cairo_region_t *child_region)
{
GdkWindow *child_window, *window;
cairo_region_t *region;
@@ -5015,14 +5010,6 @@ gtk_widget_real_queue_draw_child (GtkWidget *widget,
}
static void
-gtk_widget_queue_draw_child (GtkWidget *parent,
- GtkWidget *child,
- const cairo_region_t *region)
-{
- WIDGET_CLASS (parent)->queue_draw_child (parent, child, region);
-}
-
-static void
gtk_widget_real_queue_draw_region (GtkWidget *widget,
const cairo_region_t *region)
{
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 175c58e..ce94238 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -473,10 +473,6 @@ struct _GtkWidgetClass
void (* queue_draw_region) (GtkWidget *widget,
const cairo_region_t *region);
- void (* queue_draw_child) (GtkWidget *widget,
- GtkWidget *child,
- const cairo_region_t *region);
-
void (* snapshot) (GtkWidget *widget,
GtkSnapshot *snapshot);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]