mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-21 14:22:57 -06:00
CtrlLib: Fixed wrong size with GtkThemeIcon
git-svn-id: svn://ultimatepp.org/upp/trunk@13033 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
74d60026ee
commit
85909bebd1
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ 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,
|
||||
GTK_ICON_SIZE_BUTTON, (GtkIconLookupFlags)0, NULL);
|
||||
state, (GtkIconLookupFlags)0, NULL);
|
||||
else
|
||||
icon = gtk_widget_render_icon(widget, detail, GTK_ICON_SIZE_BUTTON, NULL);
|
||||
if(!icon) return Null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue