Mercurial > geeqie.yaz
comparison src/ui_bookmark.c @ 673:fbebf5cf4a55
Do not use printf() directly but use new wrapper function log_printf() instead.
author | zas_ |
---|---|
date | Fri, 16 May 2008 12:16:49 +0000 |
parents | 8268cbe682f1 |
children | a3218946bd2d |
comparison
equal
deleted
inserted
replaced
672:913eb0ba99a6 | 673:fbebf5cf4a55 |
---|---|
450 path_ptr = strstr(text, MARKER_PATH); | 450 path_ptr = strstr(text, MARKER_PATH); |
451 icon_ptr = strstr(text, MARKER_ICON); | 451 icon_ptr = strstr(text, MARKER_ICON); |
452 | 452 |
453 if (path_ptr && icon_ptr && icon_ptr < path_ptr) | 453 if (path_ptr && icon_ptr && icon_ptr < path_ptr) |
454 { | 454 { |
455 printf("warning, bookmark icon must be after path\n"); | 455 log_printf("warning, bookmark icon must be after path\n"); |
456 return NULL; | 456 return NULL; |
457 } | 457 } |
458 | 458 |
459 if (path_ptr) | 459 if (path_ptr) |
460 { | 460 { |
1226 gchar *new_text; | 1226 gchar *new_text; |
1227 | 1227 |
1228 hc = g_object_get_data(G_OBJECT(widget), "history_combo_data"); | 1228 hc = g_object_get_data(G_OBJECT(widget), "history_combo_data"); |
1229 if (!hc) | 1229 if (!hc) |
1230 { | 1230 { |
1231 printf("widget is not a history combo\n"); | 1231 log_printf("widget is not a history combo\n"); |
1232 return; | 1232 return; |
1233 } | 1233 } |
1234 | 1234 |
1235 if (text) | 1235 if (text) |
1236 { | 1236 { |