[gnome-terminal] terminal-app: Use correct variable for search provider



commit 6f9c33d9c417a24b0be0e05f081aab714e035c70
Author: Colin Walters <walters verbum org>
Date:   Tue Feb 18 20:46:42 2014 -0500

    terminal-app: Use correct variable for search provider
    
    Fixes a crash on startup.

 src/terminal-app.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-app.c b/src/terminal-app.c
index 73d546a..aa939c8 100644
--- a/src/terminal-app.c
+++ b/src/terminal-app.c
@@ -430,7 +430,7 @@ terminal_app_dbus_register (GApplication    *application,
 
     search_provider = terminal_search_provider_new ();
 
-    if (!terminal_search_provider_dbus_register (app->search_provider,
+    if (!terminal_search_provider_dbus_register (search_provider,
                                                  connection,
                                                  TERMINAL_SEARCH_PROVIDER_PATH,
                                                  error))


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