31 lines
931 B
Diff
31 lines
931 B
Diff
|
From f19a28420f9132e0e0cac6a2747a63c473052489 Mon Sep 17 00:00:00 2001
|
||
|
From: Colin Walters <walters@verbum.org>
|
||
|
Date: Tue, 20 Jul 2010 10:06:05 -0400
|
||
|
Subject: [PATCH] Remove deprecated sink functions
|
||
|
|
||
|
This is handled automatically now; see commit 00a85f6a844714d1 in pygobject.
|
||
|
|
||
|
https://bugzilla.gnome.org/show_bug.cgi?id=624834
|
||
|
---
|
||
|
gtk/gtkmodule.c | 4 ----
|
||
|
1 files changed, 0 insertions(+), 4 deletions(-)
|
||
|
|
||
|
diff --git a/gtk/gtkmodule.c b/gtk/gtkmodule.c
|
||
|
index ff6420c..1672bf9 100644
|
||
|
--- a/gtk/gtkmodule.c
|
||
|
+++ b/gtk/gtkmodule.c
|
||
|
@@ -204,10 +204,6 @@ init_gtk(void)
|
||
|
/* initialise pygtk */
|
||
|
gtk_type_init(0);
|
||
|
|
||
|
- pygobject_register_sinkfunc(GTK_TYPE_WINDOW, sink_gtkwindow);
|
||
|
- pygobject_register_sinkfunc(GTK_TYPE_INVISIBLE, sink_gtkinvisible);
|
||
|
- pygobject_register_sinkfunc(GTK_TYPE_OBJECT, sink_gtkobject);
|
||
|
-
|
||
|
m = Py_InitModule("gtk._gtk", pygtk_functions);
|
||
|
d = PyModule_GetDict(m);
|
||
|
|
||
|
--
|
||
|
1.7.1.1
|
||
|
|