diff --git a/src/view/chapter_view.c b/src/view/chapter_view.c index c109ab9..018030b 100644 --- a/src/view/chapter_view.c +++ b/src/view/chapter_view.c @@ -138,7 +138,7 @@ set_image_zoomable_picture_container (ChapterVisorData *chapter_visor_data) { strlen (url_image_not_owned)); current_picture = create_picture_from_url - (url_image, -1); + (url_image, 0); chapter_visor_data->current_picture = current_picture; g_signal_connect (G_OBJECT (current_picture), "map", G_CALLBACK (image_page_show), views_leaflet); diff --git a/src/view/list_view_manga.c b/src/view/list_view_manga.c index 5349a46..c775a33 100644 --- a/src/view/list_view_manga.c +++ b/src/view/list_view_manga.c @@ -56,6 +56,7 @@ setup_list_view_mangas (GtkSignalListItemFactory *factory, GtkWidget *label = gtk_label_new (manga_title); GtkWidget *picture = GTK_WIDGET ( create_picture_from_url (image_url, 100)); + g_object_set_property_int (G_OBJECT(picture), "margin-end", 5); gtk_box_append (box, picture); gtk_box_append (box, label); diff --git a/src/view/picture.c b/src/view/picture.c index aaa7015..37c6c8e 100644 --- a/src/view/picture.c +++ b/src/view/picture.c @@ -42,7 +42,6 @@ create_picture_from_url (const char *const url, gint picture_size) { picture = GTK_PICTURE (gtk_picture_new_for_paintable (GDK_PAINTABLE (texture))); g_object_set_property_int (G_OBJECT(picture), "height-request", picture_size); g_object_set_property_int (G_OBJECT(picture), "width-request", picture_size); - g_object_set_property_int (G_OBJECT(picture), "margin-end", 5); cleanup_create_picture_from_url: g_free (downloaded_image);