Ticket #34520: 0002-ae61326cf5e7aaba6e72af757a5cd33efe8280a1.patch

File 0002-ae61326cf5e7aaba6e72af757a5cd33efe8280a1.patch, 1.6 KB (added by su-v, 12 years ago)
  • objects/custom/shape_typeinfo.c

    From ae61326cf5e7aaba6e72af757a5cd33efe8280a1 Mon Sep 17 00:00:00 2001
    From: Dominique Leuenberger <dimstar@opensuse.org>
    Date: Thu, 01 Dec 2011 21:08:12 +0000
    Subject: Bug 665335: Only #include <glib.h>: the other headers are implicit
    
    ---
    diff --git a/objects/custom/shape_typeinfo.c b/objects/custom/shape_typeinfo.c
    index c6133b1..3fb3d73 100644
    a b  
    2727#include "custom_util.h"
    2828#include <string.h>
    2929#include <stdarg.h>
    30 #include <glib/gstrfuncs.h>
     30#include <glib.h>
    3131#include <glib/gstdio.h>
    3232#include <libxml/parser.h>
    3333
  • plug-ins/pgf/render_pgf.c

    diff --git a/plug-ins/pgf/render_pgf.c b/plug-ins/pgf/render_pgf.c
    index 3fe5bbd..24b812e 100644
    a b TODO: 
    6161#endif
    6262#include <errno.h>
    6363
    64 #include <glib/gprintf.h>
     64#include <glib.h>
    6565#include <glib/gstdio.h>
    6666
    6767#include "intl.h"
  • tests/test-boundingbox.c

    diff --git a/tests/test-boundingbox.c b/tests/test-boundingbox.c
    index 7adaab5..a13d018 100644
    a b  
    2828#include <glib.h>
    2929#include <glib-object.h>
    3030
    31 #if GLIB_CHECK_VERSION(2,16,0)
    32 #include <glib/gtestutils.h>
    33 #endif
    3431#include "dialib.h"
    3532
    3633/*
  • tests/test-objects.c

    diff --git a/tests/test-objects.c b/tests/test-objects.c
    index 57d5675..c5980a5 100644
    a b  
    2828#include <glib.h>
    2929#include <glib-object.h>
    3030
    31 #if GLIB_CHECK_VERSION(2,16,0)
    32 #include <glib/gtestutils.h>
    33 #endif
    34 
    3531#include "object.h"
    3632#include "plug-ins.h"
    3733#include "dialib.h"