Skip to content

Commit

Permalink
fix missing paths on command line hangs introduced in f167b28 #468
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnorantGuru committed May 18, 2015
1 parent 81ff48c commit 599e03b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
add icon chooser [GTK2 only, GTK3 pending]
add panel View context menu to main View menu
add View|Style|Thumbnails (global)
fix missing paths on command line hangs introduced in f167b283 #468
1.0.1 2015-05-04:
extended bookmarks system
added users manual Bookmarks section
Expand Down
8 changes: 5 additions & 3 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1519,10 +1519,12 @@ int main ( int argc, char *argv[] )
run = handle_parsed_commandline_args();
app_settings.load_saved_tabs = TRUE;

GDK_THREADS_ENTER();
if( run ) /* run the main loop */
if ( run ) /* run the main loop */
{
GDK_THREADS_ENTER();
gtk_main();
GDK_THREADS_LEAVE();
GDK_THREADS_LEAVE();
}

main_window_event( NULL, NULL, "evt_exit", 0, 0, NULL, 0, 0, 0, FALSE );

Expand Down

0 comments on commit 599e03b

Please sign in to comment.