[gtksourceview] tag: g_object_notify() is called unless EXPLICIT_NOTIFY is set
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] tag: g_object_notify() is called unless EXPLICIT_NOTIFY is set
- Date: Sun, 24 Apr 2016 02:04:35 +0000 (UTC)
commit 4795ba93b5113992abfc8f5ec69b4cd944f1acc5
Author: Christian Hergert <christian hergert me>
Date: Sat Apr 23 18:53:32 2016 -0700
tag: g_object_notify() is called unless EXPLICIT_NOTIFY is set
No need to call g_object_notify() here, since G_PARAM_EXPLICIT_NOTIFY
denotes that the handler will call. In this case, we only set from
set_property, so that is not necessary.
gtksourceview/gtksourcetag.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/gtksourcetag.c b/gtksourceview/gtksourcetag.c
index b3329f8..a9f297b 100644
--- a/gtksourceview/gtksourcetag.c
+++ b/gtksourceview/gtksourcetag.c
@@ -98,7 +98,6 @@ gtk_source_tag_set_property (GObject *object,
case PROP_DRAW_SPACES:
priv->draw_spaces = g_value_get_boolean (value);
priv->draw_spaces_set = TRUE;
- g_object_notify (object, "draw-spaces-set");
break;
case PROP_DRAW_SPACES_SET:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]