diff options
author | infirit <[email protected]> | 2014-07-28 15:19:30 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-07-28 15:19:30 +0200 |
commit | f5ae31fe150db149a07be9ca8d4e2048f85d5a4b (patch) | |
tree | 132b9d0931e0132516c37414f55ac3340f3aa009 /src/eom-window.c | |
parent | 0dc76c03d545792ae0c90487edff633a94bf87f4 (diff) | |
download | eom-f5ae31fe150db149a07be9ca8d4e2048f85d5a4b.tar.bz2 eom-f5ae31fe150db149a07be9ca8d4e2048f85d5a4b.tar.xz |
Check if an editor has been set before comparing it to other apps
Based on eog commit 349676e43252477219d07cad279861bd9484d94d
From Felix Riemann <[email protected]>
Diffstat (limited to 'src/eom-window.c')
-rw-r--r-- | src/eom-window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eom-window.c b/src/eom-window.c index 3efc91a..604f146 100644 --- a/src/eom-window.c +++ b/src/eom-window.c @@ -990,7 +990,7 @@ eom_window_update_openwith_menu (EomWindow *window, EomImage *image) GAppInfo *app = iter->data; gchar name[64]; - if (g_app_info_equal (editor_app, app)) { + if (editor_app != NULL && g_app_info_equal (editor_app, app)) { edit_button_active = TRUE; } |