~valavanisalex/ubuntu/oneiric/inkscape/inkscape_0.48.1-2ubuntu4

« back to all changes in this revision

Viewing changes to src/widgets/sp-xmlview-attr-list.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook, Ted Gould, Kees Cook
  • Date: 2009-06-24 14:00:43 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090624140043-07stp20mry48hqup
Tags: 0.47~pre0-0ubuntu1
* New upstream release

[ Ted Gould ]
* debian/control: Adding libgsl0 and removing version specifics on boost

[ Kees Cook ]
* debian/watch: updated to run uupdate and mangle pre-release versions.
* Dropped patches that have been taken upstream:
  - 01_mips
  - 02-poppler-0.8.3
  - 03-chinese-inkscape
  - 05_fix_latex_patch
  - 06_gcc-4.4
  - 07_cdr2svg
  - 08_skip-bad-utf-on-pdf-import
  - 09_gtk-clist
  - 10_belarussian
  - 11_libpng
  - 12_desktop
  - 13_slider
  - 100_svg_import_improvements
  - 102_sp_pattern_painter_free
  - 103_bitmap_type_print

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
        gtk_clist_thaw (GTK_CLIST (list));
78
78
}
79
79
 
80
 
GtkType
81
 
sp_xmlview_attr_list_get_type (void)
 
80
GType sp_xmlview_attr_list_get_type(void)
82
81
{
83
 
        static GtkType type = 0;
84
 
 
85
 
        if (!type) {
86
 
                static const GtkTypeInfo info = {
87
 
                        "SPXMLViewAttrList",
88
 
                        sizeof (SPXMLViewAttrList),
89
 
                        sizeof (SPXMLViewAttrListClass),
90
 
                        (GtkClassInitFunc) sp_xmlview_attr_list_class_init,
91
 
                        (GtkObjectInitFunc) sp_xmlview_attr_list_init,
92
 
                        NULL, NULL, NULL
93
 
                };
94
 
                type = gtk_type_unique (GTK_TYPE_CLIST, &info);
95
 
        }
96
 
 
97
 
        return type;
 
82
    static GType type = 0;
 
83
 
 
84
    if (!type) {
 
85
        GTypeInfo info = {
 
86
            sizeof(SPXMLViewAttrListClass),
 
87
            0, // base_init
 
88
            0, // base_finalize
 
89
            (GClassInitFunc)sp_xmlview_attr_list_class_init,
 
90
            0, // class_finalize
 
91
            0, // class_data
 
92
            sizeof(SPXMLViewAttrList),
 
93
            0, // n_preallocs
 
94
            (GInstanceInitFunc)sp_xmlview_attr_list_init,
 
95
            0 // value_table
 
96
        };
 
97
        type = g_type_register_static(GTK_TYPE_CLIST, "SPXMLViewAttrList", &info, static_cast<GTypeFlags>(0));
 
98
    }
 
99
 
 
100
    return type;
98
101
}
99
102
 
100
103
void