[gtksourceview] view: some minor coding style fixes
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] view: some minor coding style fixes
- Date: Sun, 19 Jun 2016 14:10:41 +0000 (UTC)
commit 00ff0d9402b4c9c5935662a08589e049b78f3f68
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Jun 19 15:46:43 2016 +0200
view: some minor coding style fixes
gtksourceview/gtksourceview.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index 86616fd..827dd0f 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -5049,9 +5049,9 @@ update_right_margin_colors (GtkSourceView *view)
view->priv->right_margin_overlay_color = NULL;
}
- if (view->priv->style_scheme)
+ if (view->priv->style_scheme != NULL)
{
- GtkSourceStyle *style;
+ GtkSourceStyle *style;
style = _gtk_source_style_scheme_get_right_margin_style (view->priv->style_scheme);
@@ -5127,7 +5127,7 @@ update_spaces_color (GtkSourceView *view)
view->priv->spaces_color = NULL;
}
- if (view->priv->style_scheme)
+ if (view->priv->style_scheme != NULL)
{
GtkSourceStyle *style;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]