[pygtk] Bug 626375 - Fix build with Python 2.5
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygtk] Bug 626375 - Fix build with Python 2.5
- Date: Thu, 12 Aug 2010 11:04:32 +0000 (UTC)
commit 57ab79145b8b9a38329460d27ddd512e7bc584ea
Author: Chenthill <pchen gnome org>
Date: Thu Aug 12 23:04:13 2010 +1200
Bug 626375 - Fix build with Python 2.5
gtk/gtk.override | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtk.override b/gtk/gtk.override
index 35b0ec9..4c9f98d 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]