225 |
GtkWidget *widget, GdkRectangle *cell_area, gint *x_offset, |
GtkWidget *widget, GdkRectangle *cell_area, gint *x_offset, |
226 |
gint *y_offset, gint *width, gint *height) { |
gint *y_offset, gint *width, gint *height) { |
227 |
CustomCellRendererType *celltype = CUSTOM_CELL_RENDERER_TYPE (cell); |
CustomCellRendererType *celltype = CUSTOM_CELL_RENDERER_TYPE (cell); |
228 |
|
#if defined(USE_MAEMO) && (MAEMO_VERSION_MAJOR >= 5) |
229 |
|
GdkPixbuf *pixbuf = icon_get(ICON_CACHE_TYPE_1_5X, celltype->type>>8); |
230 |
|
#else |
231 |
GdkPixbuf *pixbuf = icon_get(ICON_CACHE_TYPE, celltype->type>>8); |
GdkPixbuf *pixbuf = icon_get(ICON_CACHE_TYPE, celltype->type>>8); |
232 |
|
#endif |
233 |
|
|
234 |
if(!pixbuf) return; |
if(!pixbuf) return; |
235 |
|
|
268 |
guint flags) |
guint flags) |
269 |
{ |
{ |
270 |
CustomCellRendererType *celltype = CUSTOM_CELL_RENDERER_TYPE (cell); |
CustomCellRendererType *celltype = CUSTOM_CELL_RENDERER_TYPE (cell); |
271 |
|
#if defined(USE_MAEMO) && (MAEMO_VERSION_MAJOR >= 5) |
272 |
|
GdkPixbuf *pixbuf = icon_get(ICON_CACHE_TYPE_1_5X, celltype->type>>8); |
273 |
|
#else |
274 |
GdkPixbuf *pixbuf = icon_get(ICON_CACHE_TYPE, celltype->type>>8); |
GdkPixbuf *pixbuf = icon_get(ICON_CACHE_TYPE, celltype->type>>8); |
275 |
|
#endif |
276 |
GdkRectangle all_rect; |
GdkRectangle all_rect; |
277 |
GdkRectangle draw_rect; |
GdkRectangle draw_rect; |
278 |
|
|