[gnome-photos/wip/rishi/collection: 19/54] Revert "application: Create SearchContextState once Application is constructed"
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/collection: 19/54] Revert "application: Create SearchContextState once Application is constructed"
- Date: Tue, 6 Feb 2018 23:24:47 +0000 (UTC)
commit baa3288ddbb0bf5e4c91151e66c15226adbb4a53
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Feb 2 03:12:42 2018 +0100
Revert "application: Create SearchContextState once Application is constructed"
This reverts commit 54836f50eea2e2960a478a456687cb6be970eb3a.
src/photos-application.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index 50c172d2..c9f868ad 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -2305,8 +2305,6 @@ photos_application_constructed (GObject *object)
G_OBJECT_CLASS (photos_application_parent_class)->constructed (object);
- self->state = photos_search_context_state_new (PHOTOS_SEARCH_CONTEXT (self));
-
app_id = g_application_get_application_id (G_APPLICATION (self));
g_set_prgname (app_id);
}
@@ -2425,6 +2423,7 @@ photos_application_init (PhotosApplication *self)
photos_utils_ensure_builtins ();
+ self->state = photos_search_context_state_new (PHOTOS_SEARCH_CONTEXT (self));
self->activation_timestamp = GDK_CURRENT_TIME;
g_application_add_main_option_entries (G_APPLICATION (self), COMMAND_LINE_OPTIONS);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]