diff options
author | Wolfgang Ulbrich <[email protected]> | 2015-11-02 23:57:32 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2015-12-02 13:15:58 +0100 |
commit | 8011a6fb42fdfc1ac99bfc1802433c20056c51e9 (patch) | |
tree | 367c302161dab499e4614209b44a1d5eba678d78 | |
parent | a4d162e07198350693d651a868dbf6981eb00295 (diff) | |
download | eom-8011a6fb42fdfc1ac99bfc1802433c20056c51e9.tar.bz2 eom-8011a6fb42fdfc1ac99bfc1802433c20056c51e9.tar.xz |
GTK3: fix deprecated gdk_threads_enter/leave
-rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -276,11 +276,15 @@ main (int argc, char **argv) load_files (); +#if !GTK_CHECK_VERSION (3, 0, 0) gdk_threads_enter (); +#endif gtk_main (); +#if !GTK_CHECK_VERSION (3, 0, 0) gdk_threads_leave (); +#endif if (startup_files) g_strfreev (startup_files); |