[gnome-music/wip/mschraal/gtk4-v2: 16/65] Drop libdazzle usage




commit f6e98e721adf08beccbb8d499809a8bf699e4785
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 0ad4365ab..a81f93786 100644
--- a/data/ui/SongWidget.ui
+++ b/data/ui/SongWidget.ui
@@ -72,7 +72,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 c9f54f396..334bc0765 100644
--- a/meson.build
+++ b/meson.build
@@ -45,7 +45,6 @@ dependency('glib-2.0', version: '>= 2.67.1')
 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('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 cdf890794..c357e654f 100644
--- a/org.gnome.Music.json
+++ b/org.gnome.Music.json
@@ -47,16 +47,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]