fix argument type warnings by casting to appropriate type

2009-01-25  Jens Granseuer  <jensgr@gmx.net>

	* gnome-keybinding-properties.c: (add_custom_shortcut): fix argument
	type warnings by casting to appropriate type

svn path=/trunk/; revision=9209
This commit is contained in:
Jens Granseuer 2009-01-25 11:28:25 +00:00 committed by Jens Granseuer
parent a62dabe380
commit 70284272a7
2 changed files with 18 additions and 13 deletions

View file

@ -1,3 +1,8 @@
2009-01-25 Jens Granseuer <jensgr@gmx.net>
* gnome-keybinding-properties.c: (add_custom_shortcut): fix argument
type warnings by casting to appropriate type
==================== 2.25.3 ====================
==================== 2.25.2 ====================

View file

@ -1504,7 +1504,7 @@ add_custom_shortcut (GtkTreeView *tree_view,
dir = find_free_gconf_key (&error);
if (dir == NULL)
{
show_error (gtk_widget_get_toplevel (tree_view), error);
show_error (GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (tree_view))), error);
g_error_free (error);
return;