Avoid more compiler warnings

This commit is contained in:
Matthias Clasen 2017-03-23 16:15:26 +00:00
parent 6963d9e2ee
commit 147e0512c5
2 changed files with 2 additions and 2 deletions

View File

@ -987,7 +987,7 @@ gtk_recent_manager_add_full (GtkRecentManager *manager,
g_bookmark_file_set_mime_type (priv->recent_items, uri, data->mime_type);
if (data->groups && data->groups[0] != '\0')
if (data->groups && ((char*)data->groups)[0] != '\0')
{
gint j;

View File

@ -985,7 +985,7 @@ gtk_scale_button_update_icon (GtkScaleButton *button)
const gchar *name;
guint num_icons;
if (!priv->icon_list || priv->icon_list[0] == '\0')
if (!priv->icon_list || ((char*)priv->icon_list)[0] == '\0')
{
gtk_image_set_from_icon_name (GTK_IMAGE (priv->image),
"image-missing",