Skip to content

Commit

Permalink
fix compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Junker committed Aug 14, 2022
1 parent 2bfd92e commit 4dbae5a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
4 changes: 0 additions & 4 deletions src/config-file.vala
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ public class ConfigFile

return this.file.save_to_file(this.filename);
}
catch(KeyFileError err)
{
return false;
}
catch(FileError err)
{
return false;
Expand Down
10 changes: 5 additions & 5 deletions src/dbus-server.vala
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,27 @@ public class DbusServer : Object
get { return pulse.muted; }
}

public void mute()
public void mute() throws GLib.Error
{
pulse.mute();
}

public void unmute()
public void unmute() throws GLib.Error
{
pulse.unmute();
}

public void toggle_mute()
public void toggle_mute() throws GLib.Error
{
pulse.toggle_mute();
}

public void increase_volume()
public void increase_volume() throws GLib.Error
{
pulse.increase_volume();
}

public void decrease_volume()
public void decrease_volume() throws GLib.Error
{
pulse.decrease_volume();
}
Expand Down
2 changes: 1 addition & 1 deletion src/status-icon.vala
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public class MicStatusIcon : StatusIcon
{
var about = new Gtk.AboutDialog();
about.set_logo_icon_name("microphone-sensitivity-high");
about.set_version("0.3.0");
about.set_version("0.3.1");
about.set_program_name("MicTray");
about.set_comments("Microphone control application");
about.set_copyright("Dmitry Kosenkov");
Expand Down

0 comments on commit 4dbae5a

Please sign in to comment.