[gnome-music/wip/mschraal/gtk4-v2: 19/69] Drop libdazzle usage




commit 40f6ed2be8aae399066811a4f05859050499815c
Author: Marinus Schraal <mschraal gnome org>
Date:   Wed Oct 30 22:50:27 2019 +0100

    Drop libdazzle usage
    
    DzlBoldingLabel was used to remedy a possible spacing issue in an older
    rendition of the UI.
    
    Remove to ease the GTK4 port.

 data/ui/SongWidget.ui            |  2 +-
 gnomemusic/widgets/songwidget.py |  2 --
 meson.build                      |  1 -
 org.gnome.Music.json             | 10 ----------
 4 files changed, 1 insertion(+), 14 deletions(-)
---
diff --git a/data/ui/SongWidget.ui b/data/ui/SongWidget.ui
index 1bb14f17a..d56ea9560 100644
--- a/data/ui/SongWidget.ui
+++ b/data/ui/SongWidget.ui
@@ -73,7 +73,7 @@
             <property name="margin-top">1</property>
             <property name="hexpand">True</property>
             <child>
-              <object class="DzlBoldingLabel" id="_title_label">
+              <object class="GtkLabel" id="_title_label">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="xalign">0</property>
diff --git a/gnomemusic/widgets/songwidget.py b/gnomemusic/widgets/songwidget.py
index 31e67849a..259a2f994 100644
--- a/gnomemusic/widgets/songwidget.py
+++ b/gnomemusic/widgets/songwidget.py
@@ -25,9 +25,7 @@
 from enum import IntEnum
 
 import gi
-gi.require_version('Dazzle', '1.0')
 from gi.repository import Gdk, GObject, Gtk
-from gi.repository.Dazzle import BoldingLabel  # noqa: F401
 
 from gnomemusic import utils
 from gnomemusic.coresong import CoreSong
diff --git a/meson.build b/meson.build
index c73d2ad8d..c2d140fea 100644
--- a/meson.build
+++ b/meson.build
@@ -46,7 +46,6 @@ dependency('goa-1.0', version: '>= 3.35.90')
 dependency('gobject-introspection-1.0', version: '>= 1.35.0')
 dependency('gtk+-3.0', version: '>= 3.24.13')
 dependency('libhandy-1', version: '>= 1.2.0')
-dependency('libdazzle-1.0', version: '>= 3.28.0')
 dependency('libmediaart-2.0', version: '>= 1.9.1')
 dependency('libsoup-2.4')
 dependency('tracker-sparql-3.0', version: '>= 2.99.3')
diff --git a/org.gnome.Music.json b/org.gnome.Music.json
index 640b85d57..f6c02c68b 100644
--- a/org.gnome.Music.json
+++ b/org.gnome.Music.json
@@ -48,16 +48,6 @@
                 }
             ]
         },
-        {
-            "name": "libdazzle",
-            "buildsystem": "meson",
-            "sources": [
-                {
-                    "type": "git",
-                    "url": "https://gitlab.gnome.org/GNOME/libdazzle.git";
-                }
-            ]
-        },
         {
             "name": "tracker-miners",
             "buildsystem": "meson",


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