[gnome-music/wip/mschraal/gtk4-v3: 9/187] Drop libdazzle usage




commit ddca66d59fbc32954e716d39c0a4f152e015c69b
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 |  3 ---
 meson.build                      |  1 -
 org.gnome.Music.json             | 10 ----------
 4 files changed, 1 insertion(+), 15 deletions(-)
---
diff --git a/data/ui/SongWidget.ui b/data/ui/SongWidget.ui
index 56708a392..49614501c 100644
--- a/data/ui/SongWidget.ui
+++ b/data/ui/SongWidget.ui
@@ -69,7 +69,7 @@
             <property name="can_focus">False</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 fd255dd31..3e97297e0 100644
--- a/gnomemusic/widgets/songwidget.py
+++ b/gnomemusic/widgets/songwidget.py
@@ -25,10 +25,7 @@
 from enum import IntEnum
 from typing import Optional
 
-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 fe2f098e2..980839121 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('gtk4', version: '>= 4.5.0')
 dependency('libhandy-1', version: '>= 1.5.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 a9dbf34ea..e4d730702 100644
--- a/org.gnome.Music.json
+++ b/org.gnome.Music.json
@@ -44,16 +44,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]