[epiphany] ephy-window: fix a context-menu crasher



commit 3a7e46f8387ff7b465b5dbf4be288c34ef4e3d7d
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Tue Jun 9 17:48:01 2015 +0300

    ephy-window: fix a context-menu crasher
    
    Initialize variable.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=750643

 src/ephy-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 093f5d3..bc77c5b 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1689,7 +1689,7 @@ populate_context_menu (WebKitWebView *web_view,
        gboolean is_video = FALSE;
        gboolean is_audio = FALSE;
        gboolean can_search_selection = FALSE;
-       const char *selected_text;
+       const char *selected_text = NULL;
 
        is_image = webkit_hit_test_result_context_is_image (hit_test_result);
 


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