[gnome-media] profiles: shut up gcc



commit cfd237737f89c922c07c625929abf99e8091b662
Author: Marc-Andre Lureau <marcandre lureau gmail com>
Date:   Wed Jun 9 00:31:17 2010 +0200

    profiles: shut up gcc
    
    But is this call really necessary nowadays...

 profiles/gnome-media-profiles.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/profiles/gnome-media-profiles.c b/profiles/gnome-media-profiles.c
index 69c649b..8a9e3aa 100644
--- a/profiles/gnome-media-profiles.c
+++ b/profiles/gnome-media-profiles.c
@@ -63,7 +63,8 @@ gnome_media_profiles_init (GConfClient *conf)
   }
 
  /* Register GMAudioProfieEdit widget for GtkBuilder */
-  volatile GType dummy = GM_AUDIO_PROFILE_EDIT(NULL);
+  volatile GType dummy = GM_AUDIO_TYPE_PROFILE_EDIT;
+  dummy = dummy;
   /* initialize the audio profiles part */
   gm_audio_profile_initialize (conf);
 



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