[gnome-usage] Put all types in the Usage namespace
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-usage] Put all types in the Usage namespace
- Date: Fri, 10 Dec 2021 12:34:54 +0000 (UTC)
commit 2bd8781132423611ad87692cc6d87c636fcc82cd
Author: Adrien Plazas <kekun plazas laposte net>
Date: Mon Dec 6 16:15:28 2021 +0100
Put all types in the Usage namespace
src/graph-box.vala | 2 +-
src/graph-stacked-renderer.vala | 2 +-
src/monitor.vala | 2 +-
src/storage/storage-view-item.vala | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/graph-box.vala b/src/graph-box.vala
index f8c7a83..b57c1be 100644
--- a/src/graph-box.vala
+++ b/src/graph-box.vala
@@ -20,7 +20,7 @@
using Gtk;
-public class GraphBox : Gtk.Box {
+public class Usage.GraphBox : Gtk.Box {
class construct {
set_css_name ("graph-box");
diff --git a/src/graph-stacked-renderer.vala b/src/graph-stacked-renderer.vala
index 56ce5b6..064e0c8 100644
--- a/src/graph-stacked-renderer.vala
+++ b/src/graph-stacked-renderer.vala
@@ -21,7 +21,7 @@
using Dazzle;
using Cairo;
-public class GraphStackedRenderer : Object, GraphRenderer {
+public class Usage.GraphStackedRenderer : Object, GraphRenderer {
public uint column { get; set; }
public double line_width { get; set; default = 1.0; }
diff --git a/src/monitor.vala b/src/monitor.vala
index afb21cb..6e2282f 100644
--- a/src/monitor.vala
+++ b/src/monitor.vala
@@ -18,7 +18,7 @@
* Authors: Petr Štětka <pstetka redhat com>
*/
-public interface Monitor {
+public interface Usage.Monitor {
public abstract void update ();
public abstract void update_process (ref Usage.Process process);
}
diff --git a/src/storage/storage-view-item.vala b/src/storage/storage-view-item.vala
index f18a9e1..c2724c6 100644
--- a/src/storage/storage-view-item.vala
+++ b/src/storage/storage-view-item.vala
@@ -19,7 +19,7 @@
* Petr Štětka <pstetka redhat com>
*/
-public enum StorageViewType {
+public enum Usage.StorageViewType {
NONE,
OS,
UP_FOLDER,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]