Skip to content

Commit

Permalink
Application: Omit GLib namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ryonakano committed Feb 18, 2024
1 parent 27680e2 commit d47cac2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
public class Application : Gtk.Application {
public static bool IS_ON_PANTHEON {
get {
return GLib.Environment.get_variable ("XDG_CURRENT_DESKTOP") == "Pantheon";
return Environment.get_variable ("XDG_CURRENT_DESKTOP") == "Pantheon";
}
}

public static GLib.Settings settings { get; private set; }
public static Settings settings { get; private set; }

private const ActionEntry[] ACTION_ENTRIES = {
{ "quit", on_quit_activate },
Expand All @@ -26,7 +26,7 @@ public class Application : Gtk.Application {
}

static construct {
settings = new GLib.Settings ("com.github.ryonakano.konbucase");
settings = new Settings ("com.github.ryonakano.konbucase");
}

protected override void startup () {
Expand Down

0 comments on commit d47cac2

Please sign in to comment.