Fix search fields in GTK3
This commit is contained in:
parent
39bcb8d6bf
commit
cc5426de20
|
@ -529,7 +529,12 @@ pluma_history_entry_new (const gchar *history_id,
|
||||||
ret = g_object_new (PLUMA_TYPE_HISTORY_ENTRY,
|
ret = g_object_new (PLUMA_TYPE_HISTORY_ENTRY,
|
||||||
"history-id", history_id,
|
"history-id", history_id,
|
||||||
"model", store,
|
"model", store,
|
||||||
|
#if GTK_CHECK_VERSION (3, 0, 0)
|
||||||
|
"has-entry", TRUE,
|
||||||
|
"id-column", 0,
|
||||||
|
#else
|
||||||
"text-column", 0,
|
"text-column", 0,
|
||||||
|
#endif
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
g_object_unref (store);
|
g_object_unref (store);
|
||||||
|
|
Loading…
Reference in New Issue