This is an automated email from the git hooks/post-receive script. g o t t c o d e p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository panel-plugins/xfce4-whiskermenu-plugin.
commit baa13c38a25cdcaf1d130188746ad4a92c0ee86f Author: Graeme Gott <gra...@gottcode.org> Date: Thu Jan 16 14:01:46 2020 -0500 Make casts explicit. --- panel-plugin/launcher-icon-view.cpp | 2 +- panel-plugin/section-button.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/panel-plugin/launcher-icon-view.cpp b/panel-plugin/launcher-icon-view.cpp index 1b3a8a0..8c7c27e 100644 --- a/panel-plugin/launcher-icon-view.cpp +++ b/panel-plugin/launcher-icon-view.cpp @@ -96,7 +96,7 @@ GtkTreePath* LauncherIconView::get_selected_path() const { path = gtk_tree_path_copy(static_cast<GtkTreePath*>(selection->data)); } - g_list_free_full(selection, (GDestroyNotify)gtk_tree_path_free); + g_list_free_full(selection, reinterpret_cast<GDestroyNotify>(gtk_tree_path_free)); return path; } diff --git a/panel-plugin/section-button.cpp b/panel-plugin/section-button.cpp index c20ab01..81bcc56 100644 --- a/panel-plugin/section-button.cpp +++ b/panel-plugin/section-button.cpp @@ -38,7 +38,7 @@ static gboolean on_enter_notify_event(GtkWidget*, GdkEventCrossing*, GtkToggleBu { if (wm_settings->category_hover_activate && !gtk_toggle_button_get_active(button)) { - g_timeout_add(150, (GSourceFunc)hover_timeout, button); + g_timeout_add(150, reinterpret_cast<GSourceFunc>(hover_timeout), button); } return false; } -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits