ui/gtk/image.c

changeset 167
161511838ea6
parent 157
0b33b9396851
child 174
0358f1d9c506
equal deleted inserted replaced
166:6e48030cf2db 167:161511838ea6
45 icon_theme = gtk_icon_theme_get_default(); 45 icon_theme = gtk_icon_theme_get_default();
46 } 46 }
47 47
48 // **** deprecated functions **** 48 // **** deprecated functions ****
49 49
50 GdkPixbuf* ui_get_image(char *name) { 50 GdkPixbuf* ui_get_image(const char *name) {
51 UiImage *img = ucx_map_cstr_get(image_map, name); 51 UiImage *img = ucx_map_cstr_get(image_map, name);
52 if(img) { 52 if(img) {
53 return img->pixbuf; 53 return img->pixbuf;
54 } else { 54 } else {
55 //ui_add_image(name, name); 55 //ui_add_image(name, name);

mercurial