[gtk] widget: Avoid some type checks when picking
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] widget: Avoid some type checks when picking
- Date: Tue, 29 Jan 2019 06:25:27 +0000 (UTC)
commit 611964d9157b7e6471603d257441cbc923286911
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 be1f058555..67c1d6db50 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -11140,7 +11140,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);
@@ -11177,7 +11177,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]