[dia] Don't use deprecated macro GTK_CHECK_TYPE.
- From: Hans Breuer <hans src gnome org>
- To: svn-commits-list gnome org
- Subject: [dia] Don't use deprecated macro GTK_CHECK_TYPE.
- Date: Sun, 24 May 2009 07:20:10 -0400 (EDT)
commit 7d637cc0dae722605e1066070ce26b95b731777b
Author: Adam Buchbinder <adam buchbinder gmail com>
Date: Mon May 4 13:34:39 2009 -0400
Don't use deprecated macro GTK_CHECK_TYPE.
Replaced GTK_CHECK_TYPE with G_TYPE_CHECK_INSTANCE_TYPE:
http://library.gnome.org/devel/gtk/stable/gtk-Types.html#GTK-CHECK-TYPE--CAPS
Signed-off-by: Adam Buchbinder <adam buchbinder gmail com>
Signed-off-by: Hans Breuer <hans breuer org>
---
app/diapagelayout.c | 2 +-
app/layer_dialog.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/diapagelayout.c b/app/diapagelayout.c
index ef96b67..75c2441 100644
--- a/app/diapagelayout.c
+++ b/app/diapagelayout.c
@@ -40,7 +40,7 @@
/* private class : noone wants to inherit and noone needs to mess with details */
#define DIA_PAGE_LAYOUT_CLASS(klass) G_TYPE_CHECK_CLASS_CAST(klass, dia_page_layout_get_type(), DiaPageLayoutClass)
-#define DIA_IS_PAGE_LAYOUT(obj) GTK_CHECK_TYPE(obj, dia_page_layout_get_type())
+#define DIA_IS_PAGE_LAYOUT(obj) G_TYPE_CHECK_INSTANCE_TYPE(obj, dia_page_layout_get_type())
typedef struct _DiaPageLayoutClass DiaPageLayoutClass;
diff --git a/app/layer_dialog.c b/app/layer_dialog.c
index c1be71f..8850644 100644
--- a/app/layer_dialog.c
+++ b/app/layer_dialog.c
@@ -47,7 +47,7 @@
#define DIA_LAYER_WIDGET_CLASS(klass) \
G_TYPE_CHECK_CLASS_CAST (klass, dia_layer_widget_get_type (), DiaLayerWidgetClass)
#define IS_DIA_LAYER_WIDGET(obj) \
- GTK_CHECK_TYPE (obj, dia_layer_widget_get_type ())
+ G_TYPE_CHECK_INSTANCE_TYPE (obj, dia_layer_widget_get_type ())
typedef struct _DiaLayerWidgetClass DiaLayerWidgetClass;
typedef struct _EditLayerDialog EditLayerDialog;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]