[libdazzle] shortcuts: require a theme to perform editing



commit 057bcc56a2c12bca4d34520cb92729479354ef3b
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jun 14 19:50:28 2017 -0700

    shortcuts: require a theme to perform editing

 src/shortcuts/dzl-shortcut-model.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/shortcuts/dzl-shortcut-model.c b/src/shortcuts/dzl-shortcut-model.c
index 5282570..1777be1 100644
--- a/src/shortcuts/dzl-shortcut-model.c
+++ b/src/shortcuts/dzl-shortcut-model.c
@@ -46,7 +46,7 @@ dzl_shortcut_model_rebuild (DzlShortcutModel *self)
 
   gtk_tree_store_clear (GTK_TREE_STORE (self));
 
-  if (self->manager != NULL)
+  if (self->manager != NULL && self->theme != NULL)
     {
       GNode *root;
 


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