[libhandy] Drop hdy_list_box_separator_header()
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy] Drop hdy_list_box_separator_header()
- Date: Sat, 6 Jun 2020 10:24:01 +0000 (UTC)
commit bd7db8224e17abe97500a90396cb65275063e1de
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sat Jun 6 09:52:00 2020 +0200
Drop hdy_list_box_separator_header()
Favor using CSS styling instead, and in the worst case it's a simple
function.
Fixes https://gitlab.gnome.org/GNOME/libhandy/-/issues/219
debian/libhandy-1-0.symbols | 1 -
doc/handy-docs.xml | 1 -
doc/hdy-migrating-0-0-to-1.xml | 8 ++++++
src/handy.h | 1 -
src/hdy-list-box.c | 62 ------------------------------------------
src/hdy-list-box.h | 22 ---------------
src/meson.build | 2 --
7 files changed, 8 insertions(+), 89 deletions(-)
---
diff --git a/debian/libhandy-1-0.symbols b/debian/libhandy-1-0.symbols
index 635a5ce3..08965f0a 100644
--- a/debian/libhandy-1-0.symbols
+++ b/debian/libhandy-1-0.symbols
@@ -214,7 +214,6 @@ libhandy-1.so.0 libhandy-1-0 #MINVER#
hdy_leaflet_set_visible_child_name@LIBHANDY_1_0 0.0~git20180429
hdy_leaflet_transition_type_get_type@LIBHANDY_1_0 0.0.12
hdy_lerp@LIBHANDY_1_0 0.0.11
- hdy_list_box_separator_header@LIBHANDY_1_0 0.0.6
hdy_navigation_direction_get_type@LIBHANDY_1_0 0.9.9
hdy_nothing_get_type@LIBHANDY_1_0 0.80.0
hdy_nothing_new@LIBHANDY_1_0 0.80.0
diff --git a/doc/handy-docs.xml b/doc/handy-docs.xml
index b65b266d..6cfe9e31 100644
--- a/doc/handy-docs.xml
+++ b/doc/handy-docs.xml
@@ -70,7 +70,6 @@
<chapter id="helpers">
<title>Helpers</title>
<xi:include href="xml/hdy-version.xml"/>
- <xi:include href="xml/hdy-list-box.xml"/>
</chapter>
<chapter id="migrating">
diff --git a/doc/hdy-migrating-0-0-to-1.xml b/doc/hdy-migrating-0-0-to-1.xml
index e5e510c6..39a13055 100644
--- a/doc/hdy-migrating-0-0-to-1.xml
+++ b/doc/hdy-migrating-0-0-to-1.xml
@@ -234,6 +234,14 @@
</para>
</refsect3>
+ <refsect3>
+ <title>Stop using hdy_list_box_separator_header()</title>
+ <para>
+ Instead, either use CSS styling (the list.preferences style class may
+ fit your need), or implement it yourself as it is trivial.
+ </para>
+ </refsect3>
+
</refsect2>
</refentry>
diff --git a/src/handy.h b/src/handy.h
index 9e6389f0..4bbf102e 100644
--- a/src/handy.h
+++ b/src/handy.h
@@ -40,7 +40,6 @@ G_BEGIN_DECLS
#include "hdy-header-group.h"
#include "hdy-keypad.h"
#include "hdy-leaflet.h"
-#include "hdy-list-box.h"
#include "hdy-navigation-direction.h"
#include "hdy-preferences-group.h"
#include "hdy-preferences-page.h"
diff --git a/src/meson.build b/src/meson.build
index c2332308..b73091c8 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -80,7 +80,6 @@ src_headers = [
'hdy-header-group.h',
'hdy-keypad.h',
'hdy-leaflet.h',
- 'hdy-list-box.h',
'hdy-navigation-direction.h',
'hdy-preferences-group.h',
'hdy-preferences-page.h',
@@ -128,7 +127,6 @@ src_sources = [
'hdy-keypad-button.c',
'hdy-keypad.c',
'hdy-leaflet.c',
- 'hdy-list-box.c',
'hdy-main.c',
'hdy-navigation-direction.c',
'hdy-nothing.c',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]