From 2a06f17c2ef442bd63cc0463c5ee2d5b6cc84c64 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 27 Oct 2021 14:22:58 +0200 Subject: Unnecessary G_OBJECT cast when calling signal connect function --- capplets/appearance/appearance-font.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'capplets/appearance') 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)); -- cgit v1.2.1