~ubuntu-branches/ubuntu/raring/librsvg/raring-proposed

« back to all changes in this revision

Viewing changes to gtk-engine/svg-main.c

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2012-03-27 01:47:52 UTC
  • mfrom: (1.1.32) (36 experimental)
  • mto: This revision was merged to the branch mainline in revision 37.
  • Revision ID: package-import@ubuntu.com-20120327014752-c9vmipiww40cnip7
Tags: 2.36.0-1
* New upstream release.
* Update debian/copyright using the machine-readable copyright format 1.0.
* Bump Standards-Version to 3.9.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 * Carsten Haitzler <raster@rasterman.com>
22
22
 */
23
23
 
 
24
#include "config.h"
 
25
 
24
26
#include "svg.h"
25
27
#include "svg-style.h"
26
28
#include "svg-rc-style.h"
27
 
#include "rsvg-private.h"
 
29
 
28
30
#include <gmodule.h>
29
31
 
30
32
G_MODULE_EXPORT const gchar* g_module_check_init (GModule *module);
35
37
void
36
38
theme_init (GTypeModule *module)
37
39
{
38
 
  _rsvg_register_types (module); /* HACK to get around bugs 357406 and 362217 */
39
40
  rsvg_rc_style_register_type (module);
40
41
  rsvg_style_register_type (module);
41
42
}
58
59
const gchar*
59
60
g_module_check_init (GModule *module)
60
61
{
 
62
  /* See bugs 357406 and 362217 */
 
63
  g_module_make_resident (module);
 
64
 
61
65
  return gtk_check_version (GTK_MAJOR_VERSION,
62
66
                            GTK_MINOR_VERSION,
63
67
                            GTK_MICRO_VERSION - GTK_INTERFACE_AGE);