Commit 3c54fbd3 authored by Matthias Clasen's avatar Matthias Clasen

Use stupid quotes instead of dumb quotes

Following a similar change in GLib a while ago.

'bla' may by stupid, but it looks less dumb than `bla'.
parent 1d46dfb0
......@@ -595,7 +595,7 @@ gtk_binding_entry_activate (GtkBindingEntry *entry,
{
accelerator = gtk_accelerator_name (entry->keyval, entry->modifiers);
g_warning ("gtk_binding_entry_activate(): binding \"%s::%s\": "
"could not find signal \"%s\" in the `%s' class ancestry",
"could not find signal \"%s\" in the '%s' class ancestry",
entry->binding_set->set_name,
accelerator,
sig->signal_name,
......@@ -611,7 +611,7 @@ gtk_binding_entry_activate (GtkBindingEntry *entry,
{
accelerator = gtk_accelerator_name (entry->keyval, entry->modifiers);
g_warning ("gtk_binding_entry_activate(): binding \"%s::%s\": "
"signature mismatch for signal \"%s\" in the `%s' class ancestry",
"signature mismatch for signal \"%s\" in the '%s' class ancestry",
entry->binding_set->set_name,
accelerator,
sig->signal_name,
......@@ -621,7 +621,7 @@ gtk_binding_entry_activate (GtkBindingEntry *entry,
{
accelerator = gtk_accelerator_name (entry->keyval, entry->modifiers);
g_warning ("gtk_binding_entry_activate(): binding \"%s::%s\": "
"signal \"%s\" in the `%s' class ancestry cannot be used for action emissions",
"signal \"%s\" in the '%s' class ancestry cannot be used for action emissions",
entry->binding_set->set_name,
accelerator,
sig->signal_name,
......@@ -922,7 +922,7 @@ _gtk_binding_entry_add_signall (GtkBindingSet *binding_set,
tmp_arg = slist->data;
if (!tmp_arg)
{
g_warning ("gtk_binding_entry_add_signall(): arg[%u] is `NULL'", n);
g_warning ("gtk_binding_entry_add_signall(): arg[%u] is 'NULL'", n);
binding_signal_free (signal);
return;
}
......@@ -944,13 +944,13 @@ _gtk_binding_entry_add_signall (GtkBindingSet *binding_set,
arg->d.string_data = g_strdup (tmp_arg->d.string_data);
if (!arg->d.string_data)
{
g_warning ("gtk_binding_entry_add_signall(): value of `string' arg[%u] is `NULL'", n);
g_warning ("gtk_binding_entry_add_signall(): value of 'string' arg[%u] is 'NULL'", n);
binding_signal_free (signal);
return;
}
break;
default:
g_warning ("gtk_binding_entry_add_signall(): unsupported type `%s' for arg[%u]",
g_warning ("gtk_binding_entry_add_signall(): unsupported type '%s' for arg[%u]",
g_type_name (arg->arg_type), n);
binding_signal_free (signal);
return;
......@@ -1038,14 +1038,14 @@ gtk_binding_entry_add_signal (GtkBindingSet *binding_set,
arg->d.string_data = va_arg (args, gchar*);
if (!arg->d.string_data)
{
g_warning ("gtk_binding_entry_add_signal(): type `%s' arg[%u] is `NULL'",
g_warning ("gtk_binding_entry_add_signal(): type '%s' arg[%u] is 'NULL'",
g_type_name (arg->arg_type),
i);
i += n_args + 1;
}
break;
default:
g_warning ("gtk_binding_entry_add_signal(): unsupported type `%s' for arg[%u]",
g_warning ("gtk_binding_entry_add_signal(): unsupported type '%s' for arg[%u]",
g_type_name (arg->arg_type), i);
i += n_args + 1;
break;
......
......@@ -493,7 +493,7 @@ gtk_builder_get_parameters (GtkBuilder *builder,
if (prop->pspec->flags & G_PARAM_CONSTRUCT_ONLY)
{
g_warning ("Failed to get construct only property "
"%s of %s with value `%s'",
"%s of %s with value '%s'",
prop->pspec->name, object_name, prop->text->str);
continue;
}
......@@ -634,8 +634,8 @@ _gtk_builder_construct (GtkBuilder *builder,
g_set_error (error,
GTK_BUILDER_ERROR,
GTK_BUILDER_ERROR_OBJECT_TYPE_REFUSED,
"Refused to build object of type `%s' because it "
"conforms to the template type `%s', avoiding infinite recursion.",
"Refused to build object of type '%s' because it "
"conforms to the template type '%s', avoiding infinite recursion.",
g_type_name (info->type), g_type_name (builder->priv->template_type));
return NULL;
}
......@@ -1885,7 +1885,7 @@ gtk_builder_value_from_string_type (GtkBuilder *builder,
g_set_error (error,
GTK_BUILDER_ERROR,
GTK_BUILDER_ERROR_INVALID_VALUE,
"Could not parse integer `%s'",
"Could not parse integer '%s'",
string);
ret = FALSE;
break;
......@@ -1911,7 +1911,7 @@ gtk_builder_value_from_string_type (GtkBuilder *builder,
g_set_error (error,
GTK_BUILDER_ERROR,
GTK_BUILDER_ERROR_INVALID_VALUE,
"Could not parse unsigned integer `%s'",
"Could not parse unsigned integer '%s'",
string);
ret = FALSE;
break;
......@@ -1959,7 +1959,7 @@ gtk_builder_value_from_string_type (GtkBuilder *builder,
g_set_error (error,
GTK_BUILDER_ERROR,
GTK_BUILDER_ERROR_INVALID_VALUE,
"Could not parse double `%s'",
"Could not parse double '%s'",
string);
ret = FALSE;
break;
......@@ -1997,7 +1997,7 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
g_set_error (error,
GTK_BUILDER_ERROR,
GTK_BUILDER_ERROR_INVALID_VALUE,
"Could not parse color `%s'",
"Could not parse color '%s'",
string);
ret = FALSE;
}
......@@ -2111,7 +2111,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
g_set_error (error,
GTK_BUILDER_ERROR,
GTK_BUILDER_ERROR_INVALID_VALUE,
"Unsupported GType `%s'", g_type_name (type));
"Unsupported GType '%s'", g_type_name (type));
return ret;
}
......@@ -2152,7 +2152,7 @@ _gtk_builder_enum_from_string (GType type,
g_set_error (error,
GTK_BUILDER_ERROR,
GTK_BUILDER_ERROR_INVALID_VALUE,
"Could not parse enum: `%s'",
"Could not parse enum: '%s'",
string);
ret = FALSE;
}
......@@ -2243,7 +2243,7 @@ _gtk_builder_flags_from_string (GType type,
g_set_error (error,
GTK_BUILDER_ERROR,
GTK_BUILDER_ERROR_INVALID_VALUE,
"Unknown flag: `%s'",
"Unknown flag: '%s'",
flag);
ret = FALSE;
break;
......
......@@ -993,7 +993,7 @@ static void
gtk_cell_area_real_add (GtkCellArea *area,
GtkCellRenderer *renderer)
{
g_warning ("GtkCellAreaClass::add not implemented for `%s'",
g_warning ("GtkCellAreaClass::add not implemented for '%s'",
g_type_name (G_TYPE_FROM_INSTANCE (area)));
}
......@@ -1001,7 +1001,7 @@ static void
gtk_cell_area_real_remove (GtkCellArea *area,
GtkCellRenderer *renderer)
{
g_warning ("GtkCellAreaClass::remove not implemented for `%s'",
g_warning ("GtkCellAreaClass::remove not implemented for '%s'",
g_type_name (G_TYPE_FROM_INSTANCE (area)));
}
......@@ -1010,7 +1010,7 @@ gtk_cell_area_real_foreach (GtkCellArea *area,
GtkCellCallback callback,
gpointer callback_data)
{
g_warning ("GtkCellAreaClass::foreach not implemented for `%s'",
g_warning ("GtkCellAreaClass::foreach not implemented for '%s'",
g_type_name (G_TYPE_FROM_INSTANCE (area)));
}
......@@ -1023,7 +1023,7 @@ gtk_cell_area_real_foreach_alloc (GtkCellArea *area,
GtkCellAllocCallback callback,
gpointer callback_data)
{
g_warning ("GtkCellAreaClass::foreach_alloc not implemented for `%s'",
g_warning ("GtkCellAreaClass::foreach_alloc not implemented for '%s'",
g_type_name (G_TYPE_FROM_INSTANCE (area)));
}
......@@ -1295,7 +1295,7 @@ gtk_cell_area_real_apply_attributes (GtkCellArea *area,
static GtkCellAreaContext *
gtk_cell_area_real_create_context (GtkCellArea *area)
{
g_warning ("GtkCellAreaClass::create_context not implemented for `%s'",
g_warning ("GtkCellAreaClass::create_context not implemented for '%s'",
g_type_name (G_TYPE_FROM_INSTANCE (area)));
return NULL;
......@@ -1305,7 +1305,7 @@ static GtkCellAreaContext *
gtk_cell_area_real_copy_context (GtkCellArea *area,
GtkCellAreaContext *context)
{
g_warning ("GtkCellAreaClass::copy_context not implemented for `%s'",
g_warning ("GtkCellAreaClass::copy_context not implemented for '%s'",
g_type_name (G_TYPE_FROM_INSTANCE (area)));
return NULL;
......@@ -1325,7 +1325,7 @@ gtk_cell_area_real_get_preferred_width (GtkCellArea *area,
gint *minimum_width,
gint *natural_width)
{
g_warning ("GtkCellAreaClass::get_preferred_width not implemented for `%s'",
g_warning ("GtkCellAreaClass::get_preferred_width not implemented for '%s'",
g_type_name (G_TYPE_FROM_INSTANCE (area)));
}
......@@ -1336,7 +1336,7 @@ gtk_cell_area_real_get_preferred_height (GtkCellArea *area,
gint *minimum_height,
gint *natural_height)
{
g_warning ("GtkCellAreaClass::get_preferred_height not implemented for `%s'",
g_warning ("GtkCellAreaClass::get_preferred_height not implemented for '%s'",
g_type_name (G_TYPE_FROM_INSTANCE (area)));
}
......@@ -1459,7 +1459,7 @@ static gboolean
gtk_cell_area_real_focus (GtkCellArea *area,
GtkDirectionType direction)
{
g_warning ("GtkCellAreaClass::focus not implemented for `%s'",
g_warning ("GtkCellAreaClass::focus not implemented for '%s'",
g_type_name (G_TYPE_FROM_INSTANCE (area)));
return FALSE;
}
......@@ -1549,7 +1549,7 @@ gtk_cell_area_reorder (GtkCellLayout *cell_layout,
GtkCellRenderer *cell,
gint position)
{
g_warning ("GtkCellLayout::reorder not implemented for `%s'",
g_warning ("GtkCellLayout::reorder not implemented for '%s'",
g_type_name (G_TYPE_FROM_INSTANCE (cell_layout)));
}
......@@ -1798,7 +1798,7 @@ gtk_cell_area_event (GtkCellArea *area,
if (class->event)
return class->event (area, context, widget, event, cell_area, flags);
g_warning ("GtkCellAreaClass::event not implemented for `%s'",
g_warning ("GtkCellAreaClass::event not implemented for '%s'",
g_type_name (G_TYPE_FROM_INSTANCE (area)));
return 0;
}
......@@ -1843,7 +1843,7 @@ gtk_cell_area_render (GtkCellArea *area,
if (class->render)
class->render (area, context, widget, cr, background_area, cell_area, flags, paint_focus);
else
g_warning ("GtkCellAreaClass::render not implemented for `%s'",
g_warning ("GtkCellAreaClass::render not implemented for '%s'",
g_type_name (G_TYPE_FROM_INSTANCE (area)));
}
......@@ -2237,8 +2237,8 @@ gtk_cell_area_attribute_connect (GtkCellArea *area,
{
cell_attribute = node->data;
g_warning ("Cannot connect attribute `%s' for cell renderer class `%s' "
"since `%s' is already attributed to column %d",
g_warning ("Cannot connect attribute '%s' for cell renderer class '%s' "
"since '%s' is already attributed to column %d",
attribute,
G_OBJECT_TYPE_NAME (renderer),
attribute, cell_attribute->column);
......@@ -2250,7 +2250,7 @@ gtk_cell_area_attribute_connect (GtkCellArea *area,
if (!cell_attribute)
{
g_warning ("Cannot connect attribute `%s' for cell renderer class `%s' "
g_warning ("Cannot connect attribute '%s' for cell renderer class '%s' "
"since attribute does not exist",
attribute,
G_OBJECT_TYPE_NAME (renderer));
......@@ -2433,7 +2433,7 @@ gtk_cell_area_class_install_cell_property (GtkCellAreaClass *aclass,
if (g_param_spec_pool_lookup (cell_property_pool, pspec->name, G_OBJECT_CLASS_TYPE (aclass), TRUE))
{
g_warning (G_STRLOC ": class `%s' already contains a cell property named `%s'",
g_warning (G_STRLOC ": class '%s' already contains a cell property named '%s'",
G_OBJECT_CLASS_NAME (aclass), pspec->name);
return;
}
......@@ -2536,7 +2536,7 @@ gtk_cell_area_add_with_properties (GtkCellArea *area,
va_end (var_args);
}
else
g_warning ("GtkCellAreaClass::add not implemented for `%s'",
g_warning ("GtkCellAreaClass::add not implemented for '%s'",
g_type_name (G_TYPE_FROM_INSTANCE (area)));
}
......@@ -2619,7 +2619,7 @@ area_set_cell_property (GtkCellArea *area,
/* provide a copy to work from, convert (if necessary) and validate */
g_value_init (&tmp_value, G_PARAM_SPEC_VALUE_TYPE (pspec));
if (!g_value_transform (value, &tmp_value))
g_warning ("unable to set cell property `%s' of type `%s' from value of type `%s'",
g_warning ("unable to set cell property '%s' of type '%s' from value of type '%s'",
pspec->name,
g_type_name (G_PARAM_SPEC_VALUE_TYPE (pspec)),
G_VALUE_TYPE_NAME (value));
......@@ -2627,7 +2627,7 @@ area_set_cell_property (GtkCellArea *area,
{
gchar *contents = g_strdup_value_contents (value);
g_warning ("value \"%s\" of type `%s' is invalid for property `%s' of type `%s'",
g_warning ("value \"%s\" of type '%s' is invalid for property '%s' of type '%s'",
contents,
G_VALUE_TYPE_NAME (value),
pspec->name,
......@@ -2674,13 +2674,13 @@ gtk_cell_area_cell_set_valist (GtkCellArea *area,
G_OBJECT_TYPE (area), TRUE);
if (!pspec)
{
g_warning ("%s: cell area class `%s' has no cell property named `%s'",
g_warning ("%s: cell area class '%s' has no cell property named '%s'",
G_STRLOC, G_OBJECT_TYPE_NAME (area), name);
break;
}
if (!(pspec->flags & G_PARAM_WRITABLE))
{
g_warning ("%s: cell property `%s' of cell area class `%s' is not writable",
g_warning ("%s: cell property '%s' of cell area class '%s' is not writable",
G_STRLOC, pspec->name, G_OBJECT_TYPE_NAME (area));
break;
}
......@@ -2737,13 +2737,13 @@ gtk_cell_area_cell_get_valist (GtkCellArea *area,
G_OBJECT_TYPE (area), TRUE);
if (!pspec)
{
g_warning ("%s: cell area class `%s' has no cell property named `%s'",
g_warning ("%s: cell area class '%s' has no cell property named '%s'",
G_STRLOC, G_OBJECT_TYPE_NAME (area), name);
break;
}
if (!(pspec->flags & G_PARAM_READABLE))
{
g_warning ("%s: cell property `%s' of cell area class `%s' is not readable",
g_warning ("%s: cell property '%s' of cell area class '%s' is not readable",
G_STRLOC, pspec->name, G_OBJECT_TYPE_NAME (area));
break;
}
......@@ -2790,10 +2790,10 @@ gtk_cell_area_cell_set_property (GtkCellArea *area,
pspec = g_param_spec_pool_lookup (cell_property_pool, property_name,
G_OBJECT_TYPE (area), TRUE);
if (!pspec)
g_warning ("%s: cell area class `%s' has no cell property named `%s'",
g_warning ("%s: cell area class '%s' has no cell property named '%s'",
G_STRLOC, G_OBJECT_TYPE_NAME (area), property_name);
else if (!(pspec->flags & G_PARAM_WRITABLE))
g_warning ("%s: cell property `%s' of cell area class `%s' is not writable",
g_warning ("%s: cell property '%s' of cell area class '%s' is not writable",
G_STRLOC, pspec->name, G_OBJECT_TYPE_NAME (area));
else
{
......@@ -2828,10 +2828,10 @@ gtk_cell_area_cell_get_property (GtkCellArea *area,
pspec = g_param_spec_pool_lookup (cell_property_pool, property_name,
G_OBJECT_TYPE (area), TRUE);
if (!pspec)
g_warning ("%s: cell area class `%s' has no cell property named `%s'",
g_warning ("%s: cell area class '%s' has no cell property named '%s'",
G_STRLOC, G_OBJECT_TYPE_NAME (area), property_name);
else if (!(pspec->flags & G_PARAM_READABLE))
g_warning ("%s: cell property `%s' of cell area class `%s' is not readable",
g_warning ("%s: cell property '%s' of cell area class '%s' is not readable",
G_STRLOC, pspec->name, G_OBJECT_TYPE_NAME (area));
else
{
......@@ -2846,7 +2846,7 @@ gtk_cell_area_cell_get_property (GtkCellArea *area,
}
else if (!g_value_type_transformable (G_PARAM_SPEC_VALUE_TYPE (pspec), G_VALUE_TYPE (value)))
{
g_warning ("can't retrieve cell property `%s' of type `%s' as value of type `%s'",
g_warning ("can't retrieve cell property '%s' of type '%s' as value of type '%s'",
pspec->name,
g_type_name (G_PARAM_SPEC_VALUE_TYPE (pspec)),
G_VALUE_TYPE_NAME (value));
......
......@@ -648,7 +648,7 @@ gtk_cell_renderer_set_property (GObject *object,
else if (gdk_rgba_parse (&rgba, g_value_get_string (value)))
set_cell_bg_color (cell, &rgba);
else
g_warning ("Don't know color `%s'", g_value_get_string (value));
g_warning ("Don't know color '%s'", g_value_get_string (value));
g_object_notify (object, "cell-background");
}
......
......@@ -1187,7 +1187,7 @@ gtk_cell_renderer_text_set_property (GObject *object,
else if (gdk_rgba_parse (&rgba, g_value_get_string (value)))
set_bg_color (celltext, &rgba);
else
g_warning ("Don't know color `%s'", g_value_get_string (value));
g_warning ("Don't know color '%s'", g_value_get_string (value));
g_object_notify_by_pspec (object, text_cell_renderer_props[PROP_BACKGROUND_GDK]);
}
......@@ -1202,7 +1202,7 @@ gtk_cell_renderer_text_set_property (GObject *object,
else if (gdk_rgba_parse (&rgba, g_value_get_string (value)))
set_fg_color (celltext, &rgba);
else
g_warning ("Don't know color `%s'", g_value_get_string (value));
g_warning ("Don't know color '%s'", g_value_get_string (value));
g_object_notify_by_pspec (object, text_cell_renderer_props[PROP_FOREGROUND_GDK]);
}
......
......@@ -447,7 +447,7 @@ gtk_cell_view_set_property (GObject *object,
else if (gdk_rgba_parse (&color, g_value_get_string (value)))
gtk_cell_view_set_background_rgba (view, &color);
else
g_warning ("Don't know color `%s'", g_value_get_string (value));
g_warning ("Don't know color '%s'", g_value_get_string (value));
g_object_notify (object, "background-rgba");
g_object_notify (object, "background-gdk");
......
......@@ -615,7 +615,7 @@ container_set_child_property (GtkContainer *container,
/* provide a copy to work from, convert (if necessary) and validate */
g_value_init (&tmp_value, G_PARAM_SPEC_VALUE_TYPE (pspec));
if (!g_value_transform (value, &tmp_value))
g_warning ("unable to set child property `%s' of type `%s' from value of type `%s'",
g_warning ("unable to set child property '%s' of type '%s' from value of type '%s'",
pspec->name,
g_type_name (G_PARAM_SPEC_VALUE_TYPE (pspec)),
G_VALUE_TYPE_NAME (value));
......@@ -623,7 +623,7 @@ container_set_child_property (GtkContainer *container,
{
gchar *contents = g_strdup_value_contents (value);
g_warning ("value \"%s\" of type `%s' is invalid for property `%s' of type `%s'",
g_warning ("value \"%s\" of type '%s' is invalid for property '%s' of type '%s'",
contents,
G_VALUE_TYPE_NAME (value),
pspec->name,
......@@ -671,7 +671,7 @@ gtk_container_buildable_set_child_property (GtkContainer *container,
}
else if (!(pspec->flags & G_PARAM_WRITABLE))
{
g_warning ("Child property `%s' of container class `%s' is not writable",
g_warning ("Child property '%s' of container class '%s' is not writable",
name, G_OBJECT_TYPE_NAME (container));
return;
}
......@@ -1075,7 +1075,7 @@ gtk_container_child_notify (GtkContainer *container,
if (pspec == NULL)
{
g_warning ("%s: container class `%s' has no child property named `%s'",
g_warning ("%s: container class '%s' has no child property named '%s'",
G_STRLOC,
G_OBJECT_TYPE_NAME (container),
child_property);
......@@ -1181,7 +1181,7 @@ gtk_container_child_get_valist (GtkContainer *container,
TRUE);
if (!pspec)
{
g_warning ("%s: container class `%s' has no child property named `%s'",
g_warning ("%s: container class '%s' has no child property named '%s'",
G_STRLOC,
G_OBJECT_TYPE_NAME (container),
name);
......@@ -1189,7 +1189,7 @@ gtk_container_child_get_valist (GtkContainer *container,
}
if (!(pspec->flags & G_PARAM_READABLE))
{
g_warning ("%s: child property `%s' of container class `%s' is not readable",
g_warning ("%s: child property '%s' of container class '%s' is not readable",
G_STRLOC,
pspec->name,
G_OBJECT_TYPE_NAME (container));
......@@ -1240,12 +1240,12 @@ gtk_container_child_get_property (GtkContainer *container,
pspec = g_param_spec_pool_lookup (_gtk_widget_child_property_pool, property_name,
G_OBJECT_TYPE (container), TRUE);
if (!pspec)
g_warning ("%s: container class `%s' has no child property named `%s'",
g_warning ("%s: container class '%s' has no child property named '%s'",
G_STRLOC,
G_OBJECT_TYPE_NAME (container),
property_name);
else if (!(pspec->flags & G_PARAM_READABLE))
g_warning ("%s: child property `%s' of container class `%s' is not readable",
g_warning ("%s: child property '%s' of container class '%s' is not readable",
G_STRLOC,
pspec->name,
G_OBJECT_TYPE_NAME (container));
......@@ -1262,7 +1262,7 @@ gtk_container_child_get_property (GtkContainer *container,
}
else if (!g_value_type_transformable (G_PARAM_SPEC_VALUE_TYPE (pspec), G_VALUE_TYPE (value)))
{
g_warning ("can't retrieve child property `%s' of type `%s' as value of type `%s'",
g_warning ("can't retrieve child property '%s' of type '%s' as value of type '%s'",
pspec->name,
g_type_name (G_PARAM_SPEC_VALUE_TYPE (pspec)),
G_VALUE_TYPE_NAME (value));
......@@ -1323,7 +1323,7 @@ gtk_container_child_set_valist (GtkContainer *container,
TRUE);
if (!pspec)
{
g_warning ("%s: container class `%s' has no child property named `%s'",
g_warning ("%s: container class '%s' has no child property named '%s'",
G_STRLOC,
G_OBJECT_TYPE_NAME (container),
name);
......@@ -1331,7 +1331,7 @@ gtk_container_child_set_valist (GtkContainer *container,
}
if (!(pspec->flags & G_PARAM_WRITABLE))
{
g_warning ("%s: child property `%s' of container class `%s' is not writable",
g_warning ("%s: child property '%s' of container class '%s' is not writable",
G_STRLOC,
pspec->name,
G_OBJECT_TYPE_NAME (container));
......@@ -1390,12 +1390,12 @@ gtk_container_child_set_property (GtkContainer *container,
pspec = g_param_spec_pool_lookup (_gtk_widget_child_property_pool, property_name,
G_OBJECT_TYPE (container), TRUE);
if (!pspec)
g_warning ("%s: container class `%s' has no child property named `%s'",
g_warning ("%s: container class '%s' has no child property named '%s'",
G_STRLOC,
G_OBJECT_TYPE_NAME (container),
property_name);
else if (!(pspec->flags & G_PARAM_WRITABLE))
g_warning ("%s: child property `%s' of container class `%s' is not writable",
g_warning ("%s: child property '%s' of container class '%s' is not writable",
G_STRLOC,
pspec->name,
G_OBJECT_TYPE_NAME (container));
......@@ -1636,14 +1636,14 @@ static void
gtk_container_add_unimplemented (GtkContainer *container,
GtkWidget *widget)
{
g_warning ("GtkContainerClass::add not implemented for `%s'", g_type_name (G_TYPE_FROM_INSTANCE (container)));
g_warning ("GtkContainerClass::add not implemented for '%s'", g_type_name (G_TYPE_FROM_INSTANCE (container)));
}
static void
gtk_container_remove_unimplemented (GtkContainer *container,
GtkWidget *widget)
{
g_warning ("GtkContainerClass::remove not implemented for `%s'", g_type_name (G_TYPE_FROM_INSTANCE (container)));
g_warning ("GtkContainerClass::remove not implemented for '%s'", g_type_name (G_TYPE_FROM_INSTANCE (container)));
}
static void
......
......@@ -266,7 +266,7 @@ gtk_css_image_linear_parse (GtkCssImage *image,
{
if (side & ((1 << GTK_CSS_LEFT) | (1 << GTK_CSS_RIGHT)))
{
_gtk_css_parser_error (parser, "Expected `top', `bottom' or comma");
_gtk_css_parser_error (parser, "Expected 'top', 'bottom' or comma");
return FALSE;
}
side |= (1 << GTK_CSS_LEFT);
......@@ -275,7 +275,7 @@ gtk_css_image_linear_parse (GtkCssImage *image,
{
if (side & ((1 << GTK_CSS_LEFT) | (1 << GTK_CSS_RIGHT)))
{
_gtk_css_parser_error (parser, "Expected `top', `bottom' or comma");
_gtk_css_parser_error (parser, "Expected 'top', 'bottom' or comma");
return FALSE;
}
side |= (1 << GTK_CSS_RIGHT);
......@@ -284,7 +284,7 @@ gtk_css_image_linear_parse (GtkCssImage *image,
{
if (side & ((1 << GTK_CSS_TOP) | (1 << GTK_CSS_BOTTOM)))
{
_gtk_css_parser_error (parser, "Expected `left', `right' or comma");
_gtk_css_parser_error (parser, "Expected 'left', 'right' or comma");
return FALSE;
}
side |= (1 << GTK_CSS_TOP);
......@@ -293,7 +293,7 @@ gtk_css_image_linear_parse (GtkCssImage *image,
{
if (side & ((1 << GTK_CSS_TOP) | (1 << GTK_CSS_BOTTOM)))
{
_gtk_css_parser_error (parser, "Expected `left', `right' or comma");
_gtk_css_parser_error (parser, "Expected 'left', 'right' or comma");
return FALSE;
}
side |= (1 << GTK_CSS_BOTTOM);
......
......@@ -671,7 +671,7 @@ _gtk_css_number_value_parse (GtkCssParser *parser,
if (i >= G_N_ELEMENTS (units))
{
_gtk_css_parser_error (parser, "`%s' is not a valid unit.", unit_name);
_gtk_css_parser_error (parser, "'%s' is not a valid unit.", unit_name);
g_free (unit_name);
return NULL;
}
......
......@@ -903,7 +903,7 @@ gtk_file_chooser_button_set_property (GObject *object,
eclass = g_type_class_peek (GTK_TYPE_FILE_CHOOSER_ACTION);
eval = g_enum_get_value (eclass, g_value_get_enum (value));
g_warning ("%s: Choosers of type `%s' do not support `%s'.",
g_warning ("%s: Choosers of type '%s' do not support '%s'.",
G_STRFUNC, G_OBJECT_TYPE_NAME (object), eval->value_name);
g_value_set_enum ((GValue *) value, GTK_FILE_CHOOSER_ACTION_OPEN);
......@@ -950,7 +950,7 @@ gtk_file_chooser_button_set_property (GObject *object,
break;
case GTK_FILE_CHOOSER_PROP_SELECT_MULTIPLE:
g_warning ("%s: Choosers of type `%s` do not support selecting multiple files.",
g_warning ("%s: Choosers of type '%s' do not support selecting multiple files.",
G_STRFUNC, G_OBJECT_TYPE_NAME (object));
break;
default:
......
......@@ -2613,7 +2613,7 @@ gtk_label_set_markup_internal (GtkLabel *label,
if (!parse_uri_markup (label, str, &str_for_display, &links, &error))
{
g_warning ("Failed to set text '%s` from markup due to error parsing markup: %s",
g_warning ("Failed to set text '%s' from markup due to error parsing markup: %s",
str, error->message);
g_error_free (error);
return;
......@@ -2666,7 +2666,7 @@ gtk_label_set_markup_internal (GtkLabel *label,
NULL,
&error))
{
g_warning ("Failed to set text '%s` from markup due to error parsing markup: %s",
g_warning ("Failed to set text '%s' from markup due to error parsing markup: %s",
str_for_display, error->message);
g_free (str_for_display);
g_free (str_for_accel);
......
......@@ -562,7 +562,7 @@ gtk_link_button_new (const gchar *uri)
utf8_uri = g_locale_to_utf8 (uri, -1, NULL, NULL, &conv_err);
if (conv_err)
{
g_warning ("Attempting to convert URI `%s' to UTF-8, but failed "
g_warning ("Attempting to convert URI '%s' to UTF-8, but failed "
"with error: %s\n",
uri,
conv_err->message);
......
......@@ -400,7 +400,7 @@ gtk_recent_chooser_menu_set_property (GObject *object,
}
break;
case GTK_RECENT_CHOOSER_PROP_SELECT_MULTIPLE:
g_warning ("%s: Choosers of type `%s' do not support selecting multiple items.",
g_warning ("%s: Choosers of type '%s' do not support selecting multiple items.",
G_STRFUNC,
G_OBJECT_TYPE_NAME (object));
break;
......
......@@ -501,7 +501,7 @@ gtk_recent_manager_real_changed (GtkRecentManager *manager)
g_bookmark_file_to_file (priv->recent_items, priv->filename, &write_error);
if (write_error)
{
filename_warning ("Attempting to store changes into `%s', but failed: %s",
filename_warning ("Attempting to store changes into '%s', but failed: %s",
priv->filename,
write_error->message);
g_error_free (write_error);
......@@ -509,7 +509,7 @@ gtk_recent_manager_real_changed (GtkRecentManager *manager)
if (g_chmod (priv->filename, 0600) < 0)
{
filename_warning ("Attempting to set the permissions of `%s', but failed: %s",
filename_warning ("Attempting to set the permissions of '%s', but failed: %s",
priv->filename,
g_strerror (errno));
}
......@@ -629,7 +629,7 @@ gtk_recent_manager_set_filename (GtkRecentManager *manager,
priv->monitor = g_file_monitor_file (file, G_FILE_MONITOR_NONE, NULL, &error);
if (error)
{
filename_warning ("Unable to monitor `%s': %s\n"
filename_warning ("Unable to monitor '%s': %s\n"
"The GtkRecentManager will not update its contents "
"if the file is changed from other instances",
priv->filename,
......@@ -683,7 +683,7 @@ build_recent_items_list (GtkRecentManager *manager)
if (read_error->domain == G_FILE_ERROR &&
read_error->code != G_FILE_ERROR_NOENT)
filename_warning ("Attempting to read the recently used resources "
"file at `%s', but the parser failed: %s.",
"file at '%s', but the parser failed: %s.",
priv->filename,
read_error->message);
......@@ -911,7 +911,7 @@ gtk_recent_manager_add_full (GtkRecentManager *manager,
if ((data->display_name) &&
(!g_utf8_validate (data->display_name, -1, NULL)))
{
g_warning ("Attempting to add `%s' to the list of recently used "
g_warning ("Attempting to add '%s' to the list of recently used "
"resources, but the display name is not a valid UTF-8 "
"encoded string",
uri);
......@@ -921,7 +921,7 @@ gtk_recent_manager_add_full (GtkRecentManager *manager,
if ((data->description) &&
(!g_utf8_validate (data->description, -1, NULL)))
{
g_warning ("Attempting to add `%s' to the list of recently used "
g_warning ("Attempting to add '%s' to the list of recently used "
"resources, but the description is not a valid UTF-8 "
"encoded string",
uri);
......@@ -931,7 +931,7 @@ gtk_recent_manager_add_full (GtkRecentManager *manager,
if (!data->mime_type)
{
g_warning ("Attempting to add `%s' to the list of recently used "
g_warning ("Attempting to add '%s' to the list of recently used "
"resources, but no MIME type was defined",
uri);
return FALSE;
......@@ -939,7 +939,7 @@ gtk_recent_manager_add_full (GtkRecentManager *manager,
if (!data->app_name)
{
g_warning ("Attempting to add `%s' to the list of recently used "
g_warning ("Attempting to add '%s' to the list of recently used "
"resources, but no name of the application that is "
"registering it was defined",
uri);
......@@ -948,7 +948,7 @@ gtk_recent_manager_add_full (GtkRecentManager *manager,
if (!data->app_exec)
{
g_warning ("Attempting to add `%s' to the list of recently used "
g_warning ("Attempting to add '%s' to the list of recently used "
"resources, but no command line for the application "
"that is registering it was defined",
uri);
......
......@@ -2164,7 +2164,7 @@ apply_queued_setting (GtkSettings *settings,
{
gchar *debug = g_strdup_value_contents (&qvalue->public.value);
g_message ("%s: failed to retrieve property `%s' of type `%s' from rc file value \"%s\" of type `%s'",
g_message ("%s: failed to retrieve property '%s' of type '%s' from rc file value \"%s\" of type '%s'",
qvalue->public.origin ? qvalue->public.origin : "(for origin information, set GTK_DEBUG)",
pspec->name,
g_type_name (G_PARAM_SPEC_VALUE_TYPE (pspec)),
......@@ -2205,7 +2205,7 @@ settings_install_property_parser (GtkSettingsClass *class,
default:
if (!parser)
{
g_warning (G_STRLOC ": parser needs to be specified for property \"%s\" of type `%s'",
g_warning (G_STRLOC ": parser needs to be specified for property \"%s\" of type '%s'",
pspec->name, g_type_name (G_PARAM_SPEC_VALUE_TYPE (pspec)));
return 0;
}
......
......@@ -1755,7 +1755,7 @@ gtk_style_context_get_style_property (GtkStyleContext *context,
if (!g_type_is_a (widget_type, GTK_TYPE_WIDGET))
{
g_warning ("%s: can't get style properties for non-widget class `%s'",
g_warning ("%s: can't get style properties for non-widget class '%s'",
G_STRLOC,
g_type_name (widget_type));
return;
......@@ -1772,7 +1772,7 @@ gtk_style_context_get_style_property (GtkStyleContext *context,
if (!pspec)
{
g_warning ("%s: widget class `%s' has no style property named `%s'",
g_warning ("%s: widget class '%s' has no style property named '%s'",
G_STRLOC,
g_type_name (widget_type),
property_name);
......@@ -1786,7 +1786,7 @@ gtk_style_context_get_style_property (GtkStyleContext *context,
else if (g_value_type_transformable (G_VALUE_TYPE (peek_value), G_VALUE_TYPE (value)))
g_value_transform (peek_value