summaryrefslogtreecommitdiff
path: root/src/glibext
diff options
context:
space:
mode:
Diffstat (limited to 'src/glibext')
-rw-r--r--src/glibext/delayed.c5
-rw-r--r--src/glibext/gbufferline.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/glibext/delayed.c b/src/glibext/delayed.c
index 455cc03..32a3d16 100644
--- a/src/glibext/delayed.c
+++ b/src/glibext/delayed.c
@@ -561,7 +561,10 @@ bool init_work_queue(GObject *ref)
queue = g_object_new(G_TYPE_WORK_QUEUE, NULL);
- queue->statusbar = g_object_get_data(ref, "statusbar");
+ if (ref != NULL)
+ queue->statusbar = g_object_get_data(ref, "statusbar");
+ else
+ queue->statusbar = NULL;
if (queue != NULL)
_get_work_queue(queue);
diff --git a/src/glibext/gbufferline.h b/src/glibext/gbufferline.h
index 6da36af..3a47ee7 100644
--- a/src/glibext/gbufferline.h
+++ b/src/glibext/gbufferline.h
@@ -89,7 +89,9 @@ typedef enum _BufferLineFlags
BLF_NONE = 0 << 0, /* Aucune */
BLF_HAS_CODE = 1 << 0, /* La ligne contient du code */
BLF_ENTRYPOINT = 1 << 1, /* Représentation d'une entrée */
- BLF_BOOKMARK = 1 << 2 /* Signet associé */
+ BLF_BOOKMARK = 1 << 2, /* Signet associé */
+
+ BLF_ALL = ((1 << 3) - 1)
} BufferLineFlags;