Skip to content

Commit

Permalink
Deprecate widgets removed in Granite 7 (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored Apr 9, 2024
1 parent 3fc535f commit cf04ecd
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/Widgets/AbstractSettingsPage.vala
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* AbstractSettingsPage is a {@link Gtk.ScrolledWindow} subclass with properties used
* by other Granite settings widgets.
*/
[Version (deprecated = true, deprecated_since = "6.2.1", replacement = "Switchboard.SettingsPage")]
public abstract class Granite.SettingsPage : Gtk.ScrolledWindow {
protected string _icon_name;
protected string _title;
Expand Down
1 change: 1 addition & 0 deletions lib/Widgets/AbstractSimpleSettingsPage.vala
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* a content area, and an action area.
*/

[Version (deprecated = true, deprecated_since = "6.2.1", replacement = "Switchboard.SettingsPage")]
public abstract class Granite.SimpleSettingsPage : Granite.SettingsPage {
private Gtk.Image header_icon;
private Gtk.Label description_label;
Expand Down
1 change: 1 addition & 0 deletions lib/Widgets/DynamicNotebook.vala
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@ namespace Granite.Widgets {
*
* {{../doc/images/DynamicNotebook.png}}
*/
[Version (deprecated = true, deprecated_since = "6.2.1", replacement = "Hdy.Tabbar")]
public class DynamicNotebook : Gtk.EventBox {
/**
* number of pages
Expand Down
1 change: 1 addition & 0 deletions lib/Widgets/SettingsSidebar.vala
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* All the content for the rows comes from the child properties of a Granite.SettingsPage
* inside of the Gtk.Stack
*/
[Version (deprecated = true, deprecated_since = "6.2.1", replacement = "Switchboard.SettingsSidebar")]
public class Granite.SettingsSidebar : Gtk.ScrolledWindow {
private Gtk.ListBox listbox;

Expand Down
1 change: 1 addition & 0 deletions lib/Widgets/SourceList.vala
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ namespace Granite.Widgets {
*
* @since 0.3
*/
[Version (deprecated = true, deprecated_since = "6.2.1")]
public interface SourceListSortable : SourceList.ExpandableItem {
/**
* Emitted after a user has re-ordered an item via DnD.
Expand Down
1 change: 1 addition & 0 deletions lib/Widgets/StorageBar.vala
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
* }
* }}}
*/
[Version (deprecated = true, deprecated_since = "6.2.1")]
public class Granite.Widgets.StorageBar : Gtk.Box {
public enum ItemDescription {
OTHER,
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ project(
'granite',
'vala', 'c',
meson_version: '>= 0.48.2',
version: '6.2.0'
version: '6.2.1'
)

if meson.get_compiler('vala').version().version_compare('<0.48.0')
Expand Down

0 comments on commit cf04ecd

Please sign in to comment.