[gtk/wip/matthiasc/css-values] Remove an unnecessary check
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/css-values] Remove an unnecessary check
- Date: Sun, 12 Jan 2020 06:32:33 +0000 (UTC)
commit 2bb97023df791c8e6e5df9d9ee2c4fe57617cc1d
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jan 12 00:52:57 2020 -0500
Remove an unnecessary check
gtk/gtkcssselector.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/gtk/gtkcssselector.c b/gtk/gtkcssselector.c
index b6468bd282..fd6b737ab6 100644
--- a/gtk/gtkcssselector.c
+++ b/gtk/gtkcssselector.c
@@ -1726,9 +1726,6 @@ _gtk_css_selector_compare (const GtkCssSelector *a,
GtkCssChange
_gtk_css_selector_get_change (const GtkCssSelector *selector)
{
- if (selector == NULL)
- return 0;
-
return selector->class->get_change (selector, _gtk_css_selector_get_change (gtk_css_selector_previous
(selector)));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]