summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 13:31:32 +0200
committerraveit65 <[email protected]>2022-02-19 02:05:45 +0100
commitdc4857ad422547e89d88715c4ca2730e3225a5d7 (patch)
tree64a43adba88ac99744e1f047b21513d2cfc0df9c /src
parentc419a6be1e3ba4ba2c6798414450d2c48016ce49 (diff)
downloadmate-screensaver-dc4857ad422547e89d88715c4ca2730e3225a5d7.tar.bz2
mate-screensaver-dc4857ad422547e89d88715c4ca2730e3225a5d7.tar.xz
Unnecessary G_OBJECT cast when calling signal connect function
Diffstat (limited to 'src')
-rw-r--r--src/mate-screensaver-preferences.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mate-screensaver-preferences.c b/src/mate-screensaver-preferences.c
index 5bb0159..7a18a5c 100644
--- a/src/mate-screensaver-preferences.c
+++ b/src/mate-screensaver-preferences.c
@@ -721,7 +721,7 @@ setup_treeview (GtkWidget *tree,
select = gtk_tree_view_get_selection (GTK_TREE_VIEW (tree));
gtk_tree_selection_set_mode (select, GTK_SELECTION_SINGLE);
- g_signal_connect (G_OBJECT (select), "changed",
+ g_signal_connect (select, "changed",
G_CALLBACK (tree_selection_changed_cb),
preview);