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/tile-action.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/tile-action.c')
-rw-r--r-- | libslab/tile-action.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libslab/tile-action.c b/libslab/tile-action.c index 4934cbd3..c1d5906c 100644 --- a/libslab/tile-action.c +++ b/libslab/tile-action.c @@ -88,8 +88,9 @@ tile_action_set_menu_item_label (TileAction * this, const gchar * markup) this->menu_item = GTK_MENU_ITEM (gtk_menu_item_new ()); gtk_container_add (GTK_CONTAINER (this->menu_item), label); - g_signal_connect (G_OBJECT (this->menu_item), "activate", - G_CALLBACK (tile_action_menu_item_activate_cb), this); + g_signal_connect (this->menu_item, "activate", + G_CALLBACK (tile_action_menu_item_activate_cb), + this); } } |