diff -ur inkscape-0.48.1/src/inkscape.cpp inkscape-0.48.1_patched/src/inkscape.cpp
|
|
|
193 | 193 | G_SIGNAL_RUN_FIRST, |
194 | 194 | G_STRUCT_OFFSET (Inkscape::ApplicationClass, modify_selection), |
195 | 195 | NULL, NULL, |
196 | | g_cclosure_marshal_VOID__UINT_POINTER, |
| 196 | gtk_marshal_VOID__POINTER_UINT, |
197 | 197 | G_TYPE_NONE, 2, |
198 | 198 | G_TYPE_POINTER, G_TYPE_UINT); |
199 | 199 | inkscape_signals[CHANGE_SELECTION] = g_signal_new ("change_selection", |
diff -ur inkscape-0.48.1/src/sp-paint-server.cpp inkscape-0.48.1_patched/src/sp-paint-server.cpp
|
|
|
99 | 99 | if (painter) { |
100 | 100 | painter->next = ps->painters; |
101 | 101 | painter->server = ps; |
102 | | painter->type = (SPPainterType) G_OBJECT_TYPE(ps); |
| 102 | painter->server_type = G_OBJECT_TYPE(ps); |
103 | 103 | ps->painters = painter; |
104 | 104 | } |
105 | 105 | |
… |
… |
|
141 | 141 | if (painter->server) { |
142 | 142 | sp_paint_server_painter_free(painter->server, painter); |
143 | 143 | } else { |
144 | | SPPaintServerClass *psc = (SPPaintServerClass *) g_type_class_ref(painter->type); |
| 144 | SPPaintServerClass *psc = (SPPaintServerClass *) g_type_class_ref(painter->server_type); |
145 | 145 | if (psc->painter_free) |
146 | 146 | (*psc->painter_free)(NULL, painter); |
147 | 147 | stale_painters = g_slist_remove(stale_painters, painter); |