190
190
static gboolean cached_image_real_draw (GtkWidget* base, cairo_t* c) {
191
191
CachedImage * self;
192
192
gboolean result = FALSE;
194
GdkPixbuf* _tmp1_ = NULL;
193
GdkPixbuf* _tmp0_ = NULL;
195
195
GdkPixbuf* _tmp2_;
197
cairo_surface_t* _tmp4_ = NULL;
198
cairo_surface_t* _tmp5_;
199
cairo_surface_t* cached_surface;
200
cairo_surface_t* _tmp6_;
201
197
self = (CachedImage*) base;
202
198
g_return_val_if_fail (c != NULL, FALSE);
204
g_object_get ((GtkImage*) self, "pixbuf", &_tmp1_, NULL);
199
g_object_get ((GtkImage*) self, "pixbuf", &_tmp0_, NULL);
207
_tmp4_ = cached_image_get_cached_surface (_tmp0_, _tmp3_);
209
_g_object_unref0 (_tmp3_);
210
cached_surface = _tmp5_;
211
_tmp6_ = cached_surface;
212
if (_tmp6_ != NULL) {
214
cairo_surface_t* _tmp8_;
217
_tmp8_ = cached_surface;
218
cairo_set_source_surface (_tmp7_, _tmp8_, (gdouble) 0, (gdouble) 0);
220
cairo_paint (_tmp9_);
202
_tmp3_ = _tmp2_ != NULL;
203
_g_object_unref0 (_tmp2_);
206
GdkPixbuf* _tmp5_ = NULL;
209
cairo_surface_t* _tmp8_ = NULL;
210
cairo_surface_t* _tmp9_;
211
cairo_surface_t* cached_surface;
212
cairo_surface_t* _tmp10_;
214
g_object_get ((GtkImage*) self, "pixbuf", &_tmp5_, NULL);
217
_tmp8_ = cached_image_get_cached_surface (_tmp4_, _tmp7_);
219
_g_object_unref0 (_tmp7_);
220
cached_surface = _tmp9_;
221
_tmp10_ = cached_surface;
222
if (_tmp10_ != NULL) {
224
cairo_surface_t* _tmp12_;
227
_tmp12_ = cached_surface;
228
cairo_set_source_surface (_tmp11_, _tmp12_, (gdouble) 0, (gdouble) 0);
230
cairo_paint (_tmp13_);
232
_cairo_surface_destroy0 (cached_surface);
223
_cairo_surface_destroy0 (cached_surface);