From 57ab79145b8b9a38329460d27ddd512e7bc584ea Mon Sep 17 00:00:00 2001 From: Chenthill Date: Thu, 12 Aug 2010 23:04:13 +1200 Subject: Bug 626375 - Fix build with Python 2.5 --- gtk/gtk.override | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gtk') diff --git a/gtk/gtk.override b/gtk/gtk.override index 35b0ec93..4c9f98d8 100644 --- a/gtk/gtk.override +++ b/gtk/gtk.override @@ -1129,7 +1129,7 @@ pygtk_main_watch_prepare(GSource *source, * only one thread. */ #ifndef PLATFORM_WIN32 - if (!pyg_threads_enabled()) + if (!pyg_threads_enabled) return FALSE; #endif /* PLATFORM_WIN32 */ @@ -7529,7 +7529,8 @@ _wrap_gtk_recent_info_get_application_info(PyGObject *self, PyObject *args, PyObject *kwargs) { static char *kwlist[] = { "app_name", NULL }; - gchar *app_name, *app_exec = NULL; + gchar *app_name; + const gchar *app_exec = NULL; gboolean ret; PyObject *py_ret; guint count = 0; -- cgit v1.2.1