diff options
author | Robert Tari <robert@tari.in> | 2021-02-27 00:30:05 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-06-09 13:55:39 +0200 |
commit | 33422a5ecf856f94dad9de48d787f0b64e1a48f9 (patch) | |
tree | 417a9d7915640cf45c393c489410f60176b80f1c /bindings/mono/ApplicationIndicator.custom | |
parent | 3ed807db4555a0f1447520a684373e5ec1afdd91 (diff) | |
download | libayatana-appindicator-33422a5ecf856f94dad9de48d787f0b64e1a48f9.tar.gz libayatana-appindicator-33422a5ecf856f94dad9de48d787f0b64e1a48f9.tar.bz2 libayatana-appindicator-33422a5ecf856f94dad9de48d787f0b64e1a48f9.zip |
bindings/mono: Drop custom extension and use partial class in ApplicationIndicatorCustom.cs
Diffstat (limited to 'bindings/mono/ApplicationIndicator.custom')
-rw-r--r-- | bindings/mono/ApplicationIndicator.custom | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/bindings/mono/ApplicationIndicator.custom b/bindings/mono/ApplicationIndicator.custom deleted file mode 100644 index 4992c08..0000000 --- a/bindings/mono/ApplicationIndicator.custom +++ /dev/null @@ -1,26 +0,0 @@ -[DllImport ("ayatana-appindicator.dll")] -static extern int app_indicator_get_status (IntPtr i); - -[DllImport ("ayatana-appindicator.dll")] -static extern int app_indicator_get_category (IntPtr i); - -[DllImport ("ayatana-appindicator.dll")] -static extern void app_indicator_set_status (IntPtr i, int s); - - [GLib.Property ("status")] - public AppIndicatorStatus AppIndicatorStatus { - get { - return (AppIndicatorStatus) app_indicator_get_status (Handle); - } - - set { - app_indicator_set_status (Handle, (int) value); - } - } - - [GLib.Property ("category")] - public AppIndicatorCategory AppIndicatorCategory { - get { - return (AppIndicatorCategory) app_indicator_get_category (Handle); - } - } |