mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-15 06:30:13 +00:00
Remove call to XInitThreads
As SDL (which calls XInitThreads internally) is now initialized before GTK, this is no longer needed. This reverts commits f5b277548b08d8c8b680cbeb3544821e95e6dae8, ccf38a40052753cc12037c65e8998b963ebf0437 and 19033a4a39acba60c9d7de135362a70dcfc20a51.
This commit is contained in:
parent
52c5db16e4
commit
e35f659764
@ -916,9 +916,6 @@ if [[ "x$WANT_SDL_VIDEO" = "xyes" ]]; then
|
|||||||
EXTRASYSSRCS="$EXTRASYSSRCS ../dummy/clip_dummy.cpp"
|
EXTRASYSSRCS="$EXTRASYSSRCS ../dummy/clip_dummy.cpp"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
if [[ "$WANT_GTK" != "no" ]]; then
|
|
||||||
LIBS="$LIBS -lX11"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
elif [[ "x$WANT_MACOSX_GUI" != "xyes" ]]; then
|
elif [[ "x$WANT_MACOSX_GUI" != "xyes" ]]; then
|
||||||
VIDEOSRCS="video_x.cpp"
|
VIDEOSRCS="video_x.cpp"
|
||||||
|
@ -67,9 +67,6 @@ struct sigstate {
|
|||||||
#ifdef ENABLE_GTK
|
#ifdef ENABLE_GTK
|
||||||
# include <gtk/gtk.h>
|
# include <gtk/gtk.h>
|
||||||
# include <gdk/gdk.h>
|
# include <gdk/gdk.h>
|
||||||
# if !defined(GDK_WINDOWING_QUARTZ) && !defined(GDK_WINDOWING_WAYLAND)
|
|
||||||
# include <X11/Xlib.h>
|
|
||||||
# endif
|
|
||||||
# if GTK_CHECK_VERSION(3, 14, 0)
|
# if GTK_CHECK_VERSION(3, 14, 0)
|
||||||
# define ENABLE_GTK3
|
# define ENABLE_GTK3
|
||||||
# endif
|
# endif
|
||||||
@ -455,9 +452,6 @@ int main(int argc, char **argv)
|
|||||||
#ifdef ENABLE_GTK3
|
#ifdef ENABLE_GTK3
|
||||||
GtkApplication *app = NULL;
|
GtkApplication *app = NULL;
|
||||||
int ret;
|
int ret;
|
||||||
#endif
|
|
||||||
#if defined(ENABLE_GTK) && !defined(GDK_WINDOWING_QUARTZ) && !defined(GDK_WINDOWING_WAYLAND)
|
|
||||||
XInitThreads();
|
|
||||||
#endif
|
#endif
|
||||||
const char *vmdir = NULL;
|
const char *vmdir = NULL;
|
||||||
char str[256];
|
char str[256];
|
||||||
|
@ -790,9 +790,6 @@ if [[ "x$WANT_SDL_VIDEO" = "xyes" ]]; then
|
|||||||
CPPFLAGS="$CPPFLAGS -I../MacOSX"
|
CPPFLAGS="$CPPFLAGS -I../MacOSX"
|
||||||
else
|
else
|
||||||
EXTRASYSSRCS="$EXTRASYSSRCS ../dummy/clip_dummy.cpp"
|
EXTRASYSSRCS="$EXTRASYSSRCS ../dummy/clip_dummy.cpp"
|
||||||
if [[ "$WANT_GTK" != "no" ]]; then
|
|
||||||
LIBS="$LIBS -lX11"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
VIDEOSRCS="video_x.cpp"
|
VIDEOSRCS="video_x.cpp"
|
||||||
|
@ -141,9 +141,6 @@
|
|||||||
#ifdef ENABLE_GTK
|
#ifdef ENABLE_GTK
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
#include <gdk/gdk.h>
|
#include <gdk/gdk.h>
|
||||||
#if !defined(GDK_WINDOWING_QUARTZ) && !defined(GDK_WINDOWING_WAYLAND)
|
|
||||||
#include <X11/Xlib.h>
|
|
||||||
#endif
|
|
||||||
#if GTK_CHECK_VERSION(3, 14, 0)
|
#if GTK_CHECK_VERSION(3, 14, 0)
|
||||||
#define ENABLE_GTK3
|
#define ENABLE_GTK3
|
||||||
#endif
|
#endif
|
||||||
@ -794,9 +791,6 @@ int main(int argc, char **argv)
|
|||||||
#ifdef ENABLE_GTK3
|
#ifdef ENABLE_GTK3
|
||||||
GtkApplication *app = NULL;
|
GtkApplication *app = NULL;
|
||||||
int ret;
|
int ret;
|
||||||
#endif
|
|
||||||
#if defined(ENABLE_GTK) && !defined(GDK_WINDOWING_QUARTZ) && !defined(GDK_WINDOWING_WAYLAND)
|
|
||||||
XInitThreads();
|
|
||||||
#endif
|
#endif
|
||||||
char str[256];
|
char str[256];
|
||||||
bool memory_mapped_from_zero, ram_rom_areas_contiguous;
|
bool memory_mapped_from_zero, ram_rom_areas_contiguous;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user