[gedit/wip/merge-encoding-settings: 505/510] EncodingsDialog: show UTF-8 in the available encodings



commit e91ac2c0afbac742a860976bc06ffdebfe981c27
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Tue Aug 12 18:42:46 2014 +0200

    EncodingsDialog: show UTF-8 in the available encodings

 gedit/gedit-encodings-dialog.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/gedit/gedit-encodings-dialog.c b/gedit/gedit-encodings-dialog.c
index 3f89a6a..c959d1f 100644
--- a/gedit/gedit-encodings-dialog.c
+++ b/gedit/gedit-encodings-dialog.c
@@ -301,12 +301,6 @@ init_liststore_available (GeditEncodingsDialog *dialog)
                const GtkSourceEncoding *encoding = l->data;
                GtkTreeIter iter;
 
-               if (encoding == gtk_source_encoding_get_utf8 ())
-               {
-                       /* The UTF-8 encoding is always added to the combobox. */
-                       continue;
-               }
-
                gtk_list_store_append (dialog->priv->liststore_available, &iter);
 
                gtk_list_store_set (dialog->priv->liststore_available,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]