diff options
Diffstat (limited to 'logview/src/logview-prefs.c')
-rw-r--r-- | logview/src/logview-prefs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/logview/src/logview-prefs.c b/logview/src/logview-prefs.c index 191f90fb..f61e572f 100644 --- a/logview/src/logview-prefs.c +++ b/logview/src/logview-prefs.c @@ -186,8 +186,8 @@ load_filters (LogviewPrefs *prefs) } g_object_set (filter, "texttag", tag, NULL); - g_hash_table_insert (prefs->priv->filters, - g_strdup(tokens[FILTER_NAME]), + g_hash_table_insert (prefs->priv->filters, + g_strdup(tokens[FILTER_NAME]), filter); g_object_ref (filter); @@ -265,7 +265,7 @@ save_filter_foreach_func (gpointer key, gpointer value, gpointer user_data) g_free (regex); g_object_unref (tag); - + g_ptr_array_add (filters, g_string_free (prefs_string, FALSE)); } |