[pygtk/gtk-3.0: 6/55] Gseal: GtkMessageDialog.{image, label} prop accessors. They were deprecated and now sealed
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygtk/gtk-3.0: 6/55] Gseal: GtkMessageDialog.{image, label} prop accessors. They were deprecated and now sealed
- Date: Sat, 17 Jul 2010 00:24:54 +0000 (UTC)
commit b0bc3c226ccde69e3642fc5ab7c72efee0e6004c
Author: John Stowers <john stowers gmail com>
Date: Mon Jul 5 12:38:41 2010 +1200
Gseal: GtkMessageDialog.{image,label} prop accessors. They were deprecated and now sealed
gtk/gtk-base-types.defs | 4 ----
gtk/gtk.override | 30 ------------------------------
2 files changed, 0 insertions(+), 34 deletions(-)
---
diff --git a/gtk/gtk-base-types.defs b/gtk/gtk-base-types.defs
index 93538c6..44d6372 100644
--- a/gtk/gtk-base-types.defs
+++ b/gtk/gtk-base-types.defs
@@ -2082,10 +2082,6 @@
(parent "GtkDialog")
(c-name "GtkMessageDialog")
(gtype-id "GTK_TYPE_MESSAGE_DIALOG")
- (fields
- '("GtkWidget*" "image")
- '("GtkWidget*" "label")
- )
)
(define-object Misc
diff --git a/gtk/gtk.override b/gtk/gtk.override
index e887471..e44ee5d 100644
--- a/gtk/gtk.override
+++ b/gtk/gtk.override
@@ -8718,36 +8718,6 @@ _wrap_gtk_file_chooser_dialog_get_action(PyGObject *self)
}
%%
-override-attr GtkMessageDialog.image
-static PyObject *
-_wrap_gtk_message_dialog__get_image(PyObject *self, void *closure)
-{
- GtkWidget *ret;
-
- if (PyErr_Warn(PyExc_DeprecationWarning,
- "use set_image() instead") < 0)
- return NULL;
-
- ret = GTK_MESSAGE_DIALOG(pygobject_get(self))->image;
- /* pygobject_new handles NULL checking */
- return pygobject_new((GObject *)ret);
-}
-%%
-override-attr GtkMessageDialog.label
-static PyObject *
-_wrap_gtk_message_dialog__get_label(PyObject *self, void *closure)
-{
- GtkWidget *ret;
-
- if (PyErr_Warn(PyExc_DeprecationWarning,
- "use set_markup() instead") < 0)
- return NULL;
-
- ret = GTK_MESSAGE_DIALOG(pygobject_get(self))->label;
- /* pygobject_new handles NULL checking */
- return pygobject_new((GObject *)ret);
-}
-%%
override gtk_hsv_get_color noargs
static PyObject *
_wrap_gtk_hsv_get_color(PyGObject *self)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]