[gnome-calendar/gbsneto/edit-dialog-cleanup: 7/23] event-editor-dialog: Notify context when setting property




commit f9c466a1be138f5b78c5c7fab354742e314d5cef
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sat Oct 31 11:51:51 2020 -0300

    event-editor-dialog: Notify context when setting property
    
    The 'context' property is set a explicit notify property, meaning we have
    to manually notify it when setting it.

 src/gui/event-editor/gcal-event-editor-dialog.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/gui/event-editor/gcal-event-editor-dialog.c b/src/gui/event-editor/gcal-event-editor-dialog.c
index 36f44a4e..072bd474 100644
--- a/src/gui/event-editor/gcal-event-editor-dialog.c
+++ b/src/gui/event-editor/gcal-event-editor-dialog.c
@@ -1254,6 +1254,7 @@ gcal_event_editor_dialog_set_property (GObject      *object,
                                self,
                                G_CONNECT_SWAPPED);
       on_time_format_changed_cb (self);
+      g_object_notify_by_pspec (object, properties[PROP_CONTEXT]);
       break;
 
     case PROP_WRITABLE:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]