mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
CtrlLib: Fixed some gtg WARNINGs
git-svn-id: svn://ultimatepp.org/upp/trunk@13009 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
aa0b9b1774
commit
61c1350a26
3 changed files with 3 additions and 3 deletions
|
|
@ -86,9 +86,9 @@ Image GetGTK0(GtkWidget *widget, int state, int shadow, const char *detail, int
|
|||
gtk_widget_set_state(widget, GTK_STATE_NORMAL);
|
||||
if(type == GTK_THEMEICON)
|
||||
icon = gtk_icon_theme_load_icon(gtk_icon_theme_get_default(), detail,
|
||||
(GtkIconSize)state, (GtkIconLookupFlags)0, NULL);
|
||||
GTK_ICON_SIZE_BUTTON, (GtkIconLookupFlags)0, NULL);
|
||||
else
|
||||
icon = gtk_widget_render_icon(widget, detail, (GtkIconSize)state, NULL);
|
||||
icon = gtk_widget_render_icon(widget, detail, GTK_ICON_SIZE_BUTTON, NULL);
|
||||
if(!icon) return Null;
|
||||
cx = gdk_pixbuf_get_width(icon);
|
||||
cy = gdk_pixbuf_get_height(icon);
|
||||
|
|
|
|||
Loading…
Reference in a new issue