[gtk/wip/baedert/transforms6: 18/18] widget: Avoid some type checks when picking
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/transforms6: 18/18] widget: Avoid some type checks when picking
- Date: Sat, 19 Jan 2019 12:41:12 +0000 (UTC)
commit c1f58780cb97887c210449e77566d059839c2c50
Author: Timm Bäder <mail baedert org>
Date: Sat Jan 19 13:36:42 2019 +0100
widget: Avoid some type checks when picking
gtk/gtkwidget.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 13b82bbecb..4ad5a955a2 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -11220,7 +11220,7 @@ gtk_widget_contains (GtkWidget *widget,
if (gtk_widget_get_pass_through (widget) ||
!gtk_widget_is_sensitive (widget) ||
- !gtk_widget_is_drawable (widget))
+ !_gtk_widget_is_drawable (widget))
return FALSE;
return GTK_WIDGET_GET_CLASS (widget)->contains (widget, x, y);
@@ -11257,7 +11257,7 @@ gtk_widget_pick (GtkWidget *widget,
if (gtk_widget_get_pass_through (widget) ||
!gtk_widget_is_sensitive (widget) ||
- !gtk_widget_is_drawable (widget))
+ !_gtk_widget_is_drawable (widget))
return NULL;
return GTK_WIDGET_GET_CLASS (widget)->pick (widget, x, y);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]