diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-02-16 03:38:02 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-02-16 03:38:02 +0000 |
| commit | 394f7a2b4a604dc40cf29f23a7121deb19eed79c (patch) | |
| tree | ff56e3a9568726042924c1594116e455c29d0a44 /gui/DebugMemory.c | |
| parent | af73c2069339f0315d53e85fd5c45c7c89d6638a (diff) | |
| download | pcsxr-394f7a2b4a604dc40cf29f23a7121deb19eed79c.tar.gz | |
-(YarTour)Clean deprecated GTK+ symbols, preliminary GTK+-3.0 compatibility (Issue #8084, Patch #8353).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@63426 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'gui/DebugMemory.c')
| -rw-r--r-- | gui/DebugMemory.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/DebugMemory.c b/gui/DebugMemory.c index 239aeed0..289c9b9a 100644 --- a/gui/DebugMemory.c +++ b/gui/DebugMemory.c @@ -290,7 +290,11 @@ void RunDebugMemoryDialog() { pfd = pango_font_description_from_string("Bitstream Vera Sans Mono, " "DejaVu Sans Mono, Liberation Mono, FreeMono, Sans Mono 9"); +#if GTK_CHECK_VERSION(3, 0, 0) + gtk_widget_override_font(widget, pfd); +#else gtk_widget_modify_font(widget, pfd); +#endif pango_font_description_free(pfd); UpdateMemViewDlg(); |
