From 394f7a2b4a604dc40cf29f23a7121deb19eed79c Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Wed, 16 Feb 2011 03:38:02 +0000 Subject: -(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 --- gui/DebugMemory.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gui/DebugMemory.c') 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(); -- cgit v1.2.3