[gnome-desktop] rr-output-info: use standard GObject boilerplate



commit d8ea5f1348e3e932ee73cad02a7c32b1c3a444f1
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Feb 15 15:00:46 2013 -0500

    rr-output-info: use standard GObject boilerplate
    
    Makes gtk-doc happier

 libgnome-desktop/gnome-rr-config.h  |   12 +++++++-----
 libgnome-desktop/gnome-rr-private.h |    2 +-
 2 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/libgnome-desktop/gnome-rr-config.h b/libgnome-desktop/gnome-rr-config.h
index cdd2cd9..0a406d1 100644
--- a/libgnome-desktop/gnome-rr-config.h
+++ b/libgnome-desktop/gnome-rr-config.h
@@ -34,20 +34,22 @@
 #include <glib-object.h>
 #include <libgnome-desktop/gnome-rr.h>
 
-typedef struct GnomeRROutputInfoPrivate GnomeRROutputInfoPrivate;
+typedef struct _GnomeRROutputInfo GnomeRROutputInfo;
+typedef struct _GnomeRROutputInfoClass GnomeRROutputInfoClass;
+typedef struct _GnomeRROutputInfoPrivate GnomeRROutputInfoPrivate;
 
-typedef struct
+struct _GnomeRROutputInfo
 {
     GObject parent;
 
     /*< private >*/
     GnomeRROutputInfoPrivate *priv;
-} GnomeRROutputInfo;
+};
 
-typedef struct
+struct _GnomeRROutputInfoClass
 {
     GObjectClass parent_class;
-} GnomeRROutputInfoClass;
+};
 
 #define GNOME_TYPE_RR_OUTPUT_INFO                  (gnome_rr_output_info_get_type())
 #define GNOME_RR_OUTPUT_INFO(obj)                  (G_TYPE_CHECK_INSTANCE_CAST ((obj), 
GNOME_TYPE_RR_OUTPUT_INFO, GnomeRROutputInfo))
diff --git a/libgnome-desktop/gnome-rr-private.h b/libgnome-desktop/gnome-rr-private.h
index 465afb6..6a6cf4a 100644
--- a/libgnome-desktop/gnome-rr-private.h
+++ b/libgnome-desktop/gnome-rr-private.h
@@ -44,7 +44,7 @@ struct GnomeRRScreenPrivate
     gboolean                    dpms_capable;
 };
 
-struct GnomeRROutputInfoPrivate
+struct _GnomeRROutputInfoPrivate
 {
     char *             name;
 


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