summaryrefslogtreecommitdiff
path: root/capplets/appearance/appearance-font.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 14:22:58 +0200
committerLuke from DC <[email protected]>2022-02-09 04:42:12 +0000
commit2a06f17c2ef442bd63cc0463c5ee2d5b6cc84c64 (patch)
tree0de842f92df7aa496d2867a65f160322687e47a4 /capplets/appearance/appearance-font.c
parent0bfa4ca16e527fdc333fc1ded8b1d9f5963ccf1e (diff)
downloadmate-control-center-2a06f17c2ef442bd63cc0463c5ee2d5b6cc84c64.tar.bz2
mate-control-center-2a06f17c2ef442bd63cc0463c5ee2d5b6cc84c64.tar.xz
Unnecessary G_OBJECT cast when calling signal connect function
Diffstat (limited to 'capplets/appearance/appearance-font.c')
-rw-r--r--capplets/appearance/appearance-font.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/capplets/appearance/appearance-font.c b/capplets/appearance/appearance-font.c
index 06b7d584..1c1d96d5 100644
--- a/capplets/appearance/appearance-font.c
+++ b/capplets/appearance/appearance-font.c
@@ -719,12 +719,12 @@ cb_show_details (GtkWidget *button,
NULL);
data->font_groups = g_slist_prepend (data->font_groups, group);
- g_signal_connect (G_OBJECT (data->font_details),
- "response",
- G_CALLBACK (cb_details_response), NULL);
- g_signal_connect (G_OBJECT (data->font_details),
- "delete_event",
- G_CALLBACK (gtk_true), NULL);
+ g_signal_connect (data->font_details, "response",
+ G_CALLBACK (cb_details_response),
+ NULL);
+ g_signal_connect (data->font_details, "delete_event",
+ G_CALLBACK (gtk_true),
+ NULL);
}
gtk_window_present (GTK_WINDOW (data->font_details));