diff options
Diffstat (limited to 'pluma/pluma-history-entry.c')
-rw-r--r-- | pluma/pluma-history-entry.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/pluma/pluma-history-entry.c b/pluma/pluma-history-entry.c index cc010185..717d69d4 100644 --- a/pluma/pluma-history-entry.c +++ b/pluma/pluma-history-entry.c @@ -64,11 +64,7 @@ struct _PlumaHistoryEntryPrivate GSettings *settings; }; -#if GTK_CHECK_VERSION (3, 0, 0) G_DEFINE_TYPE(PlumaHistoryEntry, pluma_history_entry, GTK_TYPE_COMBO_BOX_TEXT) -#else -G_DEFINE_TYPE(PlumaHistoryEntry, pluma_history_entry, GTK_TYPE_COMBO_BOX_ENTRY) -#endif static void pluma_history_entry_set_property (GObject *object, @@ -514,12 +510,8 @@ 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 + "entry-text-column", 0, NULL); g_object_unref (store); |