summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pluma/pluma-history-entry.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pluma/pluma-history-entry.c b/pluma/pluma-history-entry.c
index bb772594..3f28e8ad 100644
--- a/pluma/pluma-history-entry.c
+++ b/pluma/pluma-history-entry.c
@@ -529,7 +529,12 @@ pluma_history_entry_new (const gchar *history_id,
ret = g_object_new (PLUMA_TYPE_HISTORY_ENTRY,
"history-id", history_id,
"model", store,
+#if GTK_CHECK_VERSION (3, 0, 0)
+ "has-entry", TRUE,
+ "id-column", 0,
+#else
"text-column", 0,
+#endif
NULL);
g_object_unref (store);