Fix search fields in GTK3

This commit is contained in:
Stefano Karapetsas 2013-11-06 01:22:15 +01:00
parent 39bcb8d6bf
commit cc5426de20
1 changed files with 5 additions and 0 deletions

View File

@ -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);