@@ -174,34 +174,6 @@ atril_thumbnail_pngenc_get (EvDocument *document, const char *thumbnail, int siz
174
174
g_object_unref (page );
175
175
176
176
if (pixbuf != NULL ) {
177
- const char * overlaid_icon_name = NULL ;
178
-
179
- if (overlaid_icon_name ) {
180
- GdkPixbuf * overlaid_pixbuf ;
181
-
182
- gchar * overlaid_icon_path = g_strdup_printf ("%s/%s" , ATRILDATADIR , overlaid_icon_name );
183
- overlaid_pixbuf = gdk_pixbuf_new_from_file (overlaid_icon_path , NULL );
184
- g_free (overlaid_icon_path );
185
- if (overlaid_pixbuf != NULL ) {
186
- int delta_height , delta_width ;
187
-
188
- delta_width = gdk_pixbuf_get_width (pixbuf ) -
189
- gdk_pixbuf_get_width (overlaid_pixbuf );
190
- delta_height = gdk_pixbuf_get_height (pixbuf ) -
191
- gdk_pixbuf_get_height (overlaid_pixbuf );
192
-
193
- gdk_pixbuf_composite (overlaid_pixbuf , pixbuf ,
194
- delta_width , delta_height ,
195
- gdk_pixbuf_get_width (overlaid_pixbuf ),
196
- gdk_pixbuf_get_height (overlaid_pixbuf ),
197
- delta_width , delta_height ,
198
- 1 , 1 ,
199
- GDK_INTERP_NEAREST , 100 );
200
-
201
- g_object_unref (overlaid_pixbuf );
202
- }
203
- }
204
-
205
177
if (gdk_pixbuf_save (pixbuf , thumbnail , "png" , NULL , NULL )) {
206
178
g_object_unref (pixbuf );
207
179
return TRUE;
0 commit comments