[gnome-terminal] prefs: Fix crash when opening the prefs dialogue again



commit b1ad8964dd605671e7b808181a601031af4a141e
Author: Christian Persch <chpe gnome org>
Date:   Sun Mar 24 14:08:09 2013 +0100

    prefs: Fix crash when opening the prefs dialogue again
    
    https://bugzilla.redhat.com/show_bug.cgi?id=926943

 src/terminal-prefs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-prefs.c b/src/terminal-prefs.c
index 2b2b477..12f6d0a 100644
--- a/src/terminal-prefs.c
+++ b/src/terminal-prefs.c
@@ -772,7 +772,7 @@ terminal_prefs_show_preferences (GtkWindow *transient_parent,
 done:
   gtk_window_set_transient_for (GTK_WINDOW (prefs_dialog), transient_parent);
 
-  terminal_util_dialog_focus_widget (dialog, page);
+  terminal_util_dialog_focus_widget (prefs_dialog, page);
 
   gtk_window_present (GTK_WINDOW (prefs_dialog));
 }


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