diff options
-rw-r--r-- | e-util/ChangeLog | 4 | ||||
-rw-r--r-- | e-util/e-icon-factory.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 19d07fadd7..2852f290b5 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,7 @@ +2004-04-21 Jeffrey Stedfast <fejj@ximian.com> + + * e-icon-factory.c: Remove the warnings about using E_ICON_SIZE enums. + 2004-04-20 Jeffrey Stedfast <fejj@ximian.com> * e-icon-factory.c (e_icon_factory_get_icon): Make diff --git a/e-util/e-icon-factory.c b/e-util/e-icon-factory.c index a558e046b0..425e03c5ab 100644 --- a/e-util/e-icon-factory.c +++ b/e-util/e-icon-factory.c @@ -178,7 +178,6 @@ e_icon_factory_get_icon_filename (const char *icon_name, int icon_size) g_return_val_if_fail (strcmp (icon_name, ""), NULL); if (icon_size >= E_ICON_NUM_SIZES) { - g_warning ("e_icon_factory_get_icon_filename(): Invalid argument for icon_size: use one of the E_ICON_SIZE_* enum values"); if ((icon_size = pixel_size_to_icon_size (icon_size)) == -1) return NULL; } @@ -201,7 +200,6 @@ e_icon_factory_get_icon (const char *icon_name, int icon_size) int size; if (icon_size >= E_ICON_NUM_SIZES) { - g_warning ("e_icon_factory_get_icon(): Invalid argument for icon_size: use one of the E_ICON_SIZE_* enum values"); if ((icon_size = pixel_size_to_icon_size (icon_size)) == -1) return NULL; } |