[gnome-software: 42/110] gs-feature-tile: Adapt to GtkLabel API changes




commit ab83621be79f824f91955afc9b8011a8faa06ce3
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Aug 23 14:49:39 2021 -0300

    gs-feature-tile: Adapt to GtkLabel API changes
    
    gtk_label_set_line_wrap → gtk_label_set_wrap

 src/gs-feature-tile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-feature-tile.c b/src/gs-feature-tile.c
index 7ad2293a5..e9a477f90 100644
--- a/src/gs-feature-tile.c
+++ b/src/gs-feature-tile.c
@@ -224,7 +224,7 @@ gs_feature_tile_refresh (GsAppTile *self)
        gtk_label_set_label (GTK_LABEL (tile->title), gs_app_get_name (app));
        gtk_label_set_label (GTK_LABEL (tile->subtitle), gs_app_get_summary (app));
 
-       gtk_label_set_line_wrap (GTK_LABEL (tile->subtitle), tile->narrow_mode);
+       gtk_label_set_wrap (GTK_LABEL (tile->subtitle), tile->narrow_mode);
        gtk_label_set_lines (GTK_LABEL (tile->subtitle), tile->narrow_mode ? 2 : 1);
 
        /* perhaps set custom css; cache it so that images don’t get reloaded


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]