Require that the URI passed to katze_load_cached_icon be NULL
This commit is contained in:
parent
edf3f95c8b
commit
b80b97b787
1 changed files with 2 additions and 0 deletions
|
@ -1495,6 +1495,8 @@ katze_load_cached_icon (const gchar* uri,
|
||||||
{
|
{
|
||||||
GdkPixbuf* icon = NULL;
|
GdkPixbuf* icon = NULL;
|
||||||
|
|
||||||
|
g_return_val_if_fail (uri != NULL, NULL);
|
||||||
|
|
||||||
if (g_str_has_prefix (uri, "http://") || g_str_has_prefix (uri,"https://"))
|
if (g_str_has_prefix (uri, "http://") || g_str_has_prefix (uri,"https://"))
|
||||||
{
|
{
|
||||||
guint i;
|
guint i;
|
||||||
|
|
Loading…
Reference in a new issue