[libgd] More fixing of distcheck



commit e173e66ffb0854ce82c345e6e38856e43fd9edb9
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jul 30 13:25:24 2013 +0200

    More fixing of distcheck
    
    GD_TYPE_TOGGLE_PIXBUF_RENDERER was used in the types catalog when
    LIBGD__VIEW_COMMON was defined but the Makefile.am included it
    when LIBGD_MAIN_ICON_VIEW was defined.
    
    This will fix distcheck in gnome-control-center if nothing else
    is broken ;)

 libgd/gd-types-catalog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgd/gd-types-catalog.c b/libgd/gd-types-catalog.c
index f2cb799..e66d6c0 100644
--- a/libgd/gd-types-catalog.c
+++ b/libgd/gd-types-catalog.c
@@ -87,12 +87,12 @@ gd_ensure_types (void)
 #ifdef LIBGD__VIEW_COMMON
   g_type_ensure (GD_TYPE_MAIN_VIEW_GENERIC);
   g_type_ensure (GD_TYPE_STYLED_TEXT_RENDERER);
-  g_type_ensure (GD_TYPE_TOGGLE_PIXBUF_RENDERER);
   g_type_ensure (GD_TYPE_TWO_LINES_RENDERER);
 #endif
 
 #ifdef LIBGD_MAIN_ICON_VIEW
   g_type_ensure (GD_TYPE_MAIN_ICON_VIEW);
+  g_type_ensure (GD_TYPE_TOGGLE_PIXBUF_RENDERER);
 #endif
 
 #ifdef LIBGD_MAIN_LIST_VIEW


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