summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2020-02-13 22:31:59 +0100
committerJens Georg <mail@jensge.org>2020-02-14 00:35:34 +0100
commit71f76fe9f289a1a10001cdc6843aaff63ac0c4cf (patch)
tree1995135c8eb9041fd9cfaf8167e08371aa6d5301
parent877a38380bbaf062be329a605e8177b72a579190 (diff)
downloadrygel-71f76fe9f289a1a10001cdc6843aaff63ac0c4cf.tar.gz
ui: Fix potential null access warning
-rw-r--r--src/ui/rygel-preferences-dialog.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/rygel-preferences-dialog.vala b/src/ui/rygel-preferences-dialog.vala
index 89a705eb..5ea6f15f 100644
--- a/src/ui/rygel-preferences-dialog.vala
+++ b/src/ui/rygel-preferences-dialog.vala
@@ -71,7 +71,7 @@ public class Rygel.PreferencesDialog : GLib.Object {
return true;
});
- (builder.get_object (CLOSE_BUTTON) as Button).clicked.connect ( () => {
+ ((Button) builder.get_object (CLOSE_BUTTON)).clicked.connect ( () => {
this.dialog.hide ();
this.loop.quit ();
});