[dia] Don't use deprecated macro GTK_CHECK_CLASS_CAST.



commit 29fb3a7456a6174966c14b00dbe1ec6101c99893
Author: Adam Buchbinder <adam buchbinder gmail com>
Date:   Mon May 4 13:32:51 2009 -0400

    Don't use deprecated macro GTK_CHECK_CLASS_CAST.
    
    Replaced GTK_CHECK_CLASS_CAST with G_TYPE_CHECK_CLASS_CAST:
    http://library.gnome.org/devel/gtk/stable/gtk-Types.html#GTK-CHECK-CLASS-CAST--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 bfbd41a..ef96b67 100644
--- a/app/diapagelayout.c
+++ b/app/diapagelayout.c
@@ -39,7 +39,7 @@
 #include "prefs.h"
 
 /* private class : noone wants to inherit and noone needs to mess with details */
-#define DIA_PAGE_LAYOUT_CLASS(klass) GTK_CHECK_CLASS_CAST(klass, dia_page_layout_get_type(), DiaPageLayoutClass)
+#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())
 
 typedef struct _DiaPageLayoutClass DiaPageLayoutClass;
diff --git a/app/layer_dialog.c b/app/layer_dialog.c
index 240568b..c1be71f 100644
--- a/app/layer_dialog.c
+++ b/app/layer_dialog.c
@@ -45,7 +45,7 @@
 #define DIA_LAYER_WIDGET(obj)          \
   G_TYPE_CHECK_INSTANCE_CAST (obj, dia_layer_widget_get_type (), DiaLayerWidget)
 #define DIA_LAYER_WIDGET_CLASS(klass)  \
-  GTK_CHECK_CLASS_CAST (klass, dia_layer_widget_get_type (), DiaLayerWidgetClass)
+  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 ())
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]