[gdm/multi-stack: 3/17] Add some casts to fix compile warnings
- From: Ray Strode <halfline src gnome org>
- To: svn-commits-list gnome org
- Subject: [gdm/multi-stack: 3/17] Add some casts to fix compile warnings
- Date: Tue, 3 Mar 2009 13:31:30 -0500 (EST)
commit 91ae813f1d4a09d91872bb454fb0f76beb39e9d6
Author: Ray Strode <rstrode redhat com>
Date: Wed Feb 25 10:56:43 2009 -0500
Add some casts to fix compile warnings
---
gui/simple-greeter/gdm-user-chooser-widget.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gui/simple-greeter/gdm-user-chooser-widget.c b/gui/simple-greeter/gdm-user-chooser-widget.c
index e569b7b..f8d5109 100644
--- a/gui/simple-greeter/gdm-user-chooser-widget.c
+++ b/gui/simple-greeter/gdm-user-chooser-widget.c
@@ -357,7 +357,7 @@ add_user (GdmUserChooserWidget *widget,
return;
}
- size = get_icon_height_for_widget (widget);
+ size = get_icon_height_for_widget (GTK_WIDGET (widget));
pixbuf = gdm_user_render_icon (user, size);
if (pixbuf == NULL && widget->priv->stock_person_pixbuf != NULL) {
pixbuf = g_object_ref (widget->priv->stock_person_pixbuf);
@@ -597,7 +597,7 @@ get_stock_person_pixbuf (GdmUserChooserWidget *widget)
GdkPixbuf *pixbuf;
int size;
- size = get_icon_height_for_widget (widget);
+ size = get_icon_height_for_widget (GTK_WIDGET (widget));
pixbuf = gtk_icon_theme_load_icon (widget->priv->icon_theme,
DEFAULT_USER_ICON,
@@ -614,7 +614,7 @@ get_logged_in_pixbuf (GdmUserChooserWidget *widget)
GdkPixbuf *pixbuf;
int size;
- size = get_icon_height_for_widget (widget);
+ size = get_icon_height_for_widget (GTK_WIDGET (widget));
pixbuf = gtk_icon_theme_load_icon (widget->priv->icon_theme,
"emblem-default",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]