diff options
author | fiaxh <git@mx.ax.lt> | 2017-10-29 15:15:28 +0100 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-10-31 15:41:45 +0100 |
commit | 0102abeec1d2055b19dccbb7edc7f06e527642b1 (patch) | |
tree | 4018e82224c19142c4a7a6eced67d9c2550b2dd8 /libdino/src/plugin/interfaces.vala | |
parent | b9df78e4494879752e9e68dcc5d54e03fffe9467 (diff) | |
download | dino-0102abeec1d2055b19dccbb7edc7f06e527642b1.tar.gz dino-0102abeec1d2055b19dccbb7edc7f06e527642b1.zip |
Fix warnings
Diffstat (limited to 'libdino/src/plugin/interfaces.vala')
-rw-r--r-- | libdino/src/plugin/interfaces.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdino/src/plugin/interfaces.vala b/libdino/src/plugin/interfaces.vala index 655ef13a..852aa596 100644 --- a/libdino/src/plugin/interfaces.vala +++ b/libdino/src/plugin/interfaces.vala @@ -64,7 +64,7 @@ public interface TextCommand : Object { public interface ConversationTitlebarEntry : Object { public abstract string id { get; } public abstract double order { get; } - public abstract ConversationTitlebarWidget get_widget(WidgetType type); + public abstract ConversationTitlebarWidget? get_widget(WidgetType type); } public interface ConversationTitlebarWidget : Object { @@ -94,7 +94,7 @@ public abstract class MetaConversationItem : Object { public abstract bool requires_avatar { get; set; } public abstract bool requires_header { get; set; } - public abstract Object get_widget(WidgetType type); + public abstract Object? get_widget(WidgetType type); } public interface ConversationItemCollection : Object { @@ -110,7 +110,7 @@ public interface MessageDisplayProvider : Object { } public interface FileWidget : Object { - public abstract Object get_widget(WidgetType type); + public abstract Object? get_widget(WidgetType type); } public interface FileDisplayProvider : Object { |