[monkey-bubble: 109/753] Sat May 20 Martijn van Beers <martijn earthling net>



commit 82bf89e5361358a9dfdf1b1703360c7cd1fe732c
Author: Martijn van Beers <martijn src gnome org>
Date:   Sat May 20 19:13:33 2000 +0000

    Sat May 20  Martijn van Beers  <martijn earthling net>
    
            * (every GtkObject).h: make sure every object has GNOME_TYPE_
              and GNOME_IS_*_CLASS macros, and format them consistently
              with each other and gtk+

 libgnomeui/gnome-scores.h |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/libgnomeui/gnome-scores.h b/libgnomeui/gnome-scores.h
index 687639c..6f7efce 100644
--- a/libgnomeui/gnome-scores.h
+++ b/libgnomeui/gnome-scores.h
@@ -52,9 +52,11 @@
 
 BEGIN_GNOME_DECLS
 
-#define GNOME_SCORES(obj)          GTK_CHECK_CAST (obj, gnome_scores_get_type (), GnomeScores)
-#define GNOME_SCORES_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, gnome_scores_get_type (), GnomeScoresClass)
-#define GNOME_IS_SCORES(obj)       GTK_CHECK_TYPE (obj, gnome_scores_get_type ())
+#define GNOME_TYPE_SCORES            (gnome_scores_get_type ())
+#define GNOME_SCORES(obj)            (GTK_CHECK_CAST ((obj), GNOME_TYPE_SCORES, GnomeScores))
+#define GNOME_SCORES_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GNOME_TYPE_SCORES, GnomeScoresClass))
+#define GNOME_IS_SCORES(obj)         (GTK_CHECK_TYPE ((obj), GNOME_TYPE_SCORES))
+#define GNOME_IS_SCORES_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_SCORES))
 
 typedef struct _GnomeScores        GnomeScores;
 typedef struct _GnomeScoresClass   GnomeScoresClass;



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