[Xfce4-commits] <xfce4-xkb-plugin:4.10_panel_support> Fix compiler warning

Igor Slepchin noreply at xfce.org
Sat Jun 8 00:58:03 CEST 2013


Updating branch refs/heads/4.10_panel_support
         to a9e10fe8455da12ff73c787d3a7d758cddc86b48 (commit)
       from 27b5107145e181c9f68b9ea807a9414e3882d135 (commit)

commit a9e10fe8455da12ff73c787d3a7d758cddc86b48
Author: Igor Slepchin <igor.slepchin at gmail.com>
Date:   Thu Jun 6 17:03:28 2013 -0400

    Fix compiler warning

 panel-plugin/xkb-settings-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/xkb-settings-dialog.c b/panel-plugin/xkb-settings-dialog.c
index 9d9ea5c..85216ac 100644
--- a/panel-plugin/xkb-settings-dialog.c
+++ b/panel-plugin/xkb-settings-dialog.c
@@ -738,7 +738,7 @@ xfce_xkb_configure (XfcePanelPlugin *plugin,
     g_signal_connect (xkb->add_layout_btn, "clicked", G_CALLBACK (xkb_settings_add_layout), xkb);
     g_signal_connect (xkb->rm_layout_btn, "clicked", G_CALLBACK (xkb_settings_rm_layout), xkb);
     g_signal_connect (xkb->edit_layout_btn, "clicked",  G_CALLBACK (xkb_settings_edit_layout), xkb);
-    selection = gtk_tree_view_get_selection (xkb->layout_tree_view);
+    selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (xkb->layout_tree_view));
     g_signal_connect (selection, "changed", G_CALLBACK (xkb_settings_edit_layout_btn_show), xkb);
 
     g_signal_connect (renderer2, "toggled", G_CALLBACK (xkb_settings_default_layout_toggled), xkb);


More information about the Xfce4-commits mailing list