ui/gtk/image.c

changeset 2
ea89bbb0c4c8
parent 0
804d8803eade
equal deleted inserted replaced
1:fcacc15a2ef2 2:ea89bbb0c4c8
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