diff options
author | rbuj <[email protected]> | 2021-10-27 14:22:58 +0200 |
---|---|---|
committer | Luke from DC <[email protected]> | 2022-02-09 04:42:12 +0000 |
commit | 2a06f17c2ef442bd63cc0463c5ee2d5b6cc84c64 (patch) | |
tree | 0de842f92df7aa496d2867a65f160322687e47a4 /libslab/app-resizer.c | |
parent | 0bfa4ca16e527fdc333fc1ded8b1d9f5963ccf1e (diff) | |
download | mate-control-center-2a06f17c2ef442bd63cc0463c5ee2d5b6cc84c64.tar.bz2 mate-control-center-2a06f17c2ef442bd63cc0463c5ee2d5b6cc84c64.tar.xz |
Unnecessary G_OBJECT cast when calling signal connect function
Diffstat (limited to 'libslab/app-resizer.c')
-rw-r--r-- | libslab/app-resizer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libslab/app-resizer.c b/libslab/app-resizer.c index 299e48f9..f7d9d0a1 100644 --- a/libslab/app-resizer.c +++ b/libslab/app-resizer.c @@ -245,7 +245,9 @@ app_resizer_new (GtkBox * child, gint initial_num_columns, gboolean homogeneous, widget->setting_style = FALSE; widget->app_data = app_data; - g_signal_connect (G_OBJECT (widget), "draw", G_CALLBACK (app_resizer_paint_window), app_data); + g_signal_connect (widget, "draw", + G_CALLBACK (app_resizer_paint_window), + app_data); gtk_container_add (GTK_CONTAINER (widget), GTK_WIDGET (child)); widget->child = child; |