summaryrefslogtreecommitdiff
path: root/gtk/pygtk-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/pygtk-private.h')
-rw-r--r--gtk/pygtk-private.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/pygtk-private.h b/gtk/pygtk-private.h
index 19a807fd..52221229 100644
--- a/gtk/pygtk-private.h
+++ b/gtk/pygtk-private.h
@@ -14,8 +14,6 @@
#undef WITH_THREAD
/* type objects */
-extern PyExtensionClass PyGtkAccelGroup_Type;
-extern PyTypeObject PyGdkFont_Type;
extern PyTypeObject PyGdkColor_Type;
extern PyTypeObject PyGdkEvent_Type;
extern PyTypeObject PyGtkSelectionData_Type;
@@ -27,8 +25,6 @@ extern PyTypeObject PyGtkTextIter_Type;
extern PyTypeObject PyGtkTreeIter_Type;
/* check the type of a PyObject */
-#define PyGtkAccelGroup_Check(v) pyg_boxed_check((v), &PyGtkAccelGroup_Type)
-#define PyGdkFont_Check(v) ((v)->ob_type == &PyGdkFont_Type)
#define PyGdkColor_Check(v) ((v)->ob_type == &PyGdkColor_Type)
#define PyGdkEvent_Check(v) ((v)->ob_type == &PyGdkEvent_Type)
#define PyGtkSelectionData_Check(v) ((v)->ob_type == &PyGtkSelectionData_Type)
@@ -40,8 +36,6 @@ extern PyTypeObject PyGtkTreeIter_Type;
#define PyGtkTreeIter_Check(v) ((v)->ob_type == &PyGtkTreeIter_Type)
/* constructors for PyObject wrappers ... */
-#define PyGtkAccelGroup_New(ag) pyg_boxed_new(GTK_TYPE_ACCEL_GROUP, ag, TRUE, TRUE)
-PyObject *PyGdkFont_New(GdkFont *font);
PyObject *PyGdkColor_New(GdkColor *colour);
PyObject *PyGdkEvent_New(GdkEvent *event);
PyObject *PyGtkSelectionData_New(GtkSelectionData *data);