[Xfce4-commits] [apps/xfburn] 20/42: fixed compiler warnings passing GActionGroup

noreply at xfce.org noreply at xfce.org
Tue Oct 15 02:22:03 CEST 2019


This is an automated email from the git hooks/post-receive script.

k   a   t   a   n   a   s   t   e   e   l       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 apps/xfburn.

commit c53caef799428b3769c046eec27de9746e842c08
Author: Rene Kjellerup <rk.katana.steel at gmail.com>
Date:   Thu Dec 6 17:55:36 2018 -0800

    fixed compiler warnings passing GActionGroup
---
 xfburn/xfburn-audio-composition.c | 2 +-
 xfburn/xfburn-data-composition.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/xfburn/xfburn-audio-composition.c b/xfburn/xfburn-audio-composition.c
index 738d363..e8ad307 100644
--- a/xfburn/xfburn-audio-composition.c
+++ b/xfburn/xfburn-audio-composition.c
@@ -693,7 +693,7 @@ cb_treeview_button_pressed (GtkTreeView * treeview, GdkEventButton * event, Xfbu
 
     model = G_MENU_MODEL (gtk_builder_get_object (priv->ui_manager, "popup-menu"));
     menu_popup = gtk_menu_new_from_model (model);
-    gtk_widget_insert_action_group(GTK_WIDGET(menu_popup), "win", priv->action_group);
+    gtk_widget_insert_action_group(GTK_WIDGET(menu_popup), "win", G_ACTION_GROUP (priv->action_group));
     menuitem_remove = GTK_WIDGET (gtk_container_get_children (GTK_CONTAINER (menu_popup))->data);
 
     if (gtk_tree_selection_count_selected_rows (selection) >= 1)
diff --git a/xfburn/xfburn-data-composition.c b/xfburn/xfburn-data-composition.c
index 5f00ded..4fff4ee 100644
--- a/xfburn/xfburn-data-composition.c
+++ b/xfburn/xfburn-data-composition.c
@@ -619,7 +619,7 @@ cb_treeview_button_pressed (GtkTreeView * treeview, GdkEventButton * event, Xfbu
 
     model = G_MENU_MODEL (gtk_builder_get_object (priv->ui_manager, "popup-menu"));
     menu_popup = gtk_menu_new_from_model (model);
-    gtk_widget_insert_action_group(GTK_WIDGET(menu_popup), "win", priv->action_group);
+    gtk_widget_insert_action_group(GTK_WIDGET(menu_popup), "win", G_ACTION_GROUP(priv->action_group));
     
     GList *childs = gtk_container_get_children (GTK_CONTAINER (menu_popup));
     menuitem_remove = GTK_WIDGET (childs->next->next->data);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list