updated on Sat Jan 21 16:18:39 UTC 2012
[aur-mirror.git] / sdlmame-wout-gconf / sdlmame-wout-gconf-v2.patch
blob06f3cc6e6fc2efb36690fc3347bc79254bcc3c5e
1 --- src/osd/sdl/sdl.mak 2011-10-19 16:29:42.000000000 +0200
2 +++ src/osd/sdl/sdl.mak 2011-10-19 16:31:17.250808385 +0200
3 @@ -485,9 +485,9 @@
5 # the new debugger relies on GTK+ in addition to the base SDLMAME needs
6 # Non-X11 builds can not use the debugger
7 -INCPATH += `pkg-config --cflags-only-I gtk+-2.0` `pkg-config --cflags-only-I gconf-2.0`
8 -CCOMFLAGS += `pkg-config --cflags-only-other gtk+-2.0` `pkg-config --cflags-only-other gconf-2.0`
9 -LIBS += `pkg-config --libs gtk+-2.0` `pkg-config --libs gconf-2.0`
10 +INCPATH +=
11 +CCOMFLAGS +=
12 +LIBS +=
13 #CCOMFLAGS += -DGTK_DISABLE_DEPRECATED
15 # some systems still put important things in a different prefix
17 --- src/osd/sdl/dview.c 2011-10-19 16:35:07.862711036 +0200
18 +++ src/osd/sdl/dview.c 2011-10-19 16:36:03.886506591 +0200
19 @@ +1,6-1,7 @@
21 #include "dview.h"
22 #ifndef SDLMAME_WIN32
23 -#include <gconf/gconf-client.h>
24 #endif
26 G_DEFINE_TYPE(DView, dview, GTK_TYPE_CONTAINER);
27 @@ -339,13 +338,9@@
28 static void dview_class_init(DViewClass *dvc)
30 #ifndef SDLMAME_WIN32
31 - GConfClient *conf = gconf_client_get_default();
32 char *name = 0;
33 dvc->fixedfont = 0;
35 - if(conf)
36 - name = gconf_client_get_string(conf, "/desktop/gnome/interface/monospace_font_name", 0);
38 if(name) {
39 dvc->fixedfont = pango_font_description_from_string(name);
40 g_free(name);