Skip to content

Commit

Permalink
Fix build with newer Vala compiler (tkashkin#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkashkin committed Jul 3, 2019
1 parent 34b0109 commit 9d0ff03
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
5 changes: 0 additions & 5 deletions src/ui/dialogs/SettingsDialog/SettingsDialogPage.vala
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ namespace GameHub.UI.Dialogs.SettingsDialog
protected Grid root_grid;
protected Grid header_grid;

public SettingsDialogPage(SettingsDialog dlg)
{
Object(dialog: dlg);
}

construct
{
content_area.orientation = Orientation.VERTICAL;
Expand Down
5 changes: 0 additions & 5 deletions src/ui/views/GameDetailsView/GameDetailsBlock.vala
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ namespace GameHub.UI.Views.GameDetailsView

public bool is_dialog { get; construct; }

public GameDetailsBlock(Game game, bool is_dialog)
{
Object(game: game, orientation: Orientation.VERTICAL, is_dialog: is_dialog);
}

public abstract bool supports_game { get; }

protected Box? add_info_label(string title, string? text, bool multiline=true, bool markup=false, Container? parent=null)
Expand Down
4 changes: 2 additions & 2 deletions src/utils/downloader/Downloader.vala
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ namespace GameHub.Utils.Downloader
set { _status = value; status_change(_status); }
}

public Download(File remote, File local, File local_tmp)
protected Download(File remote, File local, File local_tmp)
{
this.remote = remote;
this.local = local;
Expand All @@ -118,7 +118,7 @@ namespace GameHub.Utils.Downloader

public abstract class PausableDownload: Download
{
public PausableDownload(File remote, File local, File local_tmp)
protected PausableDownload(File remote, File local, File local_tmp)
{
base(remote, local, local_tmp);
}
Expand Down

0 comments on commit 9d0ff03

Please sign in to comment.