[gnome-control-center] user: Remove some dead code



commit 97d759271d90e999f726f8bdac6b191a3c128f43
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Aug 20 01:46:52 2011 -0400

    user: Remove some dead code
    
    There were some unused declarations leftover in the language dialog.

 panels/user-accounts/um-language-dialog.c |   17 -----------------
 panels/user-accounts/um-language-dialog.h |    5 +----
 2 files changed, 1 insertions(+), 21 deletions(-)
---
diff --git a/panels/user-accounts/um-language-dialog.c b/panels/user-accounts/um-language-dialog.c
index 27fc2ed..fb87ab8 100644
--- a/panels/user-accounts/um-language-dialog.c
+++ b/panels/user-accounts/um-language-dialog.c
@@ -36,23 +36,6 @@
 
 #include "gdm-languages.h"
 
-struct _UmLanguageDialog {
-        GtkWidget *dialog;
-        GtkWidget *user_icon;
-        GtkWidget *user_name;
-        GtkWidget *dialog_combo;
-        GtkListStore *dialog_store;
-
-        GtkWidget *chooser;
-        GtkWidget *chooser_list;
-        GtkListStore *chooser_store;
-
-        char *language;
-        UmUser *user;
-
-        gboolean force_setting;
-};
-
 gchar *
 um_language_chooser_get_language (GtkWidget *chooser)
 {
diff --git a/panels/user-accounts/um-language-dialog.h b/panels/user-accounts/um-language-dialog.h
index 0575afe..740cbfc 100644
--- a/panels/user-accounts/um-language-dialog.h
+++ b/panels/user-accounts/um-language-dialog.h
@@ -27,10 +27,7 @@
 
 G_BEGIN_DECLS
 
-typedef struct _UmLanguageDialog UmLanguageDialog;
-
-void              um_add_user_languages       (GtkTreeModel     *model);
-gchar            *um_get_current_language     (void);
+void              um_add_user_languages            (GtkTreeModel *model);
 
 GtkWidget        *um_language_chooser_new          (GtkWidget *parent);
 gchar            *um_language_chooser_get_language (GtkWidget *chooser);



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