diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-09-13 19:57:42 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-09-13 19:57:42 +0000 |
commit | 463aab93dd04bb815f13ff8f17019071162a8ac3 (patch) | |
tree | 539f4100082e7cb0fcb1a1ba449e3b7791eb4cfd /gtk/gtkfilesel.c | |
parent | 9a5d4a2ff9e9117b731418d0deafd4204cace1c4 (diff) | |
download | gtk+-463aab93dd04bb815f13ff8f17019071162a8ac3.tar.gz |
Various cleanups. (#315360, Kjartan Maraas)
2005-09-13 Matthias Clasen <mclasen@redhat.com>
* gtk/*.c: Various cleanups. (#315360, Kjartan Maraas)
Diffstat (limited to 'gtk/gtkfilesel.c')
-rw-r--r-- | gtk/gtkfilesel.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c index 53e17a7587..0d7325d1b2 100644 --- a/gtk/gtkfilesel.c +++ b/gtk/gtkfilesel.c @@ -653,7 +653,6 @@ gtk_file_selection_init (GtkFileSelection *filesel) GtkWidget *entry_vbox; GtkWidget *label; GtkWidget *list_hbox, *list_container; - GtkWidget *confirm_area; GtkWidget *pulldown_hbox; GtkWidget *scrolled_win; GtkWidget *eventbox; @@ -797,7 +796,6 @@ gtk_file_selection_init (GtkFileSelection *filesel) gtk_widget_show (filesel->action_area); /* The OK/Cancel button area */ - confirm_area = dialog->action_area; /* The Cancel button */ filesel->cancel_button = gtk_dialog_add_button (dialog, @@ -3557,12 +3555,11 @@ static PossibleCompletion* attempt_homedir_completion (gchar *text_to_complete, CompletionState *cmpl_state) { - gint index, length; + gint index; if (!cmpl_state->user_dir_name_buffer && !get_pwdb (cmpl_state)) return NULL; - length = strlen (text_to_complete) - 1; cmpl_state->user_completion_index += 1; |