[gtk+] Use stupid quotes instead of dumb quotes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Use stupid quotes instead of dumb quotes
- Date: Wed, 23 Sep 2015 11:09:05 +0000 (UTC)
commit 3c54fbd3acb572d8b7e6022bc3de496689a9bb62
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Sep 20 02:32:48 2015 -0400
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'.
gtk/gtkbindings.c | 16 ++++++------
gtk/gtkbuilder.c | 20 ++++++++--------
gtk/gtkcellarea.c | 56 ++++++++++++++++++++++----------------------
gtk/gtkcellrenderer.c | 2 +-
gtk/gtkcellrenderertext.c | 4 +-
gtk/gtkcellview.c | 2 +-
gtk/gtkcontainer.c | 30 +++++++++++-----------
gtk/gtkcssimagelinear.c | 8 +++---
gtk/gtkcssparser.c | 2 +-
gtk/gtkfilechooserbutton.c | 4 +-
gtk/gtklabel.c | 4 +-
gtk/gtklinkbutton.c | 2 +-
gtk/gtkrecentchoosermenu.c | 2 +-
gtk/gtkrecentmanager.c | 18 +++++++-------
gtk/gtksettings.c | 4 +-
gtk/gtkstylecontext.c | 12 ++++----
gtk/gtkstyleproperty.c | 2 +-
gtk/gtktextbtree.c | 24 +++++++++---------
gtk/gtktextbuffer.c | 4 +-
gtk/gtktexttag.c | 6 ++--
gtk/gtkwidget.c | 20 ++++++++--------
21 files changed, 121 insertions(+), 121 deletions(-)
---
diff --git a/gtk/gtkbindings.c b/gtk/gtkbindings.c
index 6218043..2a1ec43 100644
--- a/gtk/gtkbindings.c
+++ b/gtk/gtkbindings.c
@@ -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;
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c
index 1941aac..5b61334 100644
--- a/gtk/gtkbuilder.c
+++ b/gtk/gtkbuilder.c
@@ -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;
diff --git a/gtk/gtkcellarea.c b/gtk/gtkcellarea.c
index 6d85040..c7b9f2d 100644
--- a/gtk/gtkcellarea.c
+++ b/gtk/gtkcellarea.c
@@ -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));
diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c
index adca3f7..2f157b2 100644
--- a/gtk/gtkcellrenderer.c
+++ b/gtk/gtkcellrenderer.c
@@ -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");
}
diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c
index 134ccb2..fe873db 100644
--- a/gtk/gtkcellrenderertext.c
+++ b/gtk/gtkcellrenderertext.c
@@ -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]);
}
diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c
index 0fc9811..4297360 100644
--- a/gtk/gtkcellview.c
+++ b/gtk/gtkcellview.c
@@ -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");
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index 19db6af..992cab0 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -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
diff --git a/gtk/gtkcssimagelinear.c b/gtk/gtkcssimagelinear.c
index 559aecc..093a308 100644
--- a/gtk/gtkcssimagelinear.c
+++ b/gtk/gtkcssimagelinear.c
@@ -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);
diff --git a/gtk/gtkcssparser.c b/gtk/gtkcssparser.c
index 644592b..13d81e1 100644
--- a/gtk/gtkcssparser.c
+++ b/gtk/gtkcssparser.c
@@ -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;
}
diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c
index 7a91af1..fcf78a8 100644
--- a/gtk/gtkfilechooserbutton.c
+++ b/gtk/gtkfilechooserbutton.c
@@ -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:
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index 7b2775f..25dcb3c 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -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);
diff --git a/gtk/gtklinkbutton.c b/gtk/gtklinkbutton.c
index 8804e11..7f8be6a 100644
--- a/gtk/gtklinkbutton.c
+++ b/gtk/gtklinkbutton.c
@@ -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);
diff --git a/gtk/gtkrecentchoosermenu.c b/gtk/gtkrecentchoosermenu.c
index 0f451d5..b902640 100644
--- a/gtk/gtkrecentchoosermenu.c
+++ b/gtk/gtkrecentchoosermenu.c
@@ -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;
diff --git a/gtk/gtkrecentmanager.c b/gtk/gtkrecentmanager.c
index 38c0d8f..b862c17 100644
--- a/gtk/gtkrecentmanager.c
+++ b/gtk/gtkrecentmanager.c
@@ -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);
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 7f52d61..cc74a06 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -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;
}
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index f37b50c..9a5587d 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -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, value);
else
- g_warning ("can't retrieve style property `%s' of type `%s' as value of type `%s'",
+ g_warning ("can't retrieve style property '%s' of type '%s' as value of type '%s'",
pspec->name,
G_VALUE_TYPE_NAME (peek_value),
G_VALUE_TYPE_NAME (value));
@@ -1837,7 +1837,7 @@ gtk_style_context_get_style_valist (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;
@@ -1861,7 +1861,7 @@ gtk_style_context_get_style_valist (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),
prop_name);
@@ -1874,7 +1874,7 @@ gtk_style_context_get_style_valist (GtkStyleContext *context,
if (error)
{
- g_warning ("can't retrieve style property `%s' of type `%s': %s",
+ g_warning ("can't retrieve style property '%s' of type '%s': %s",
pspec->name,
G_VALUE_TYPE_NAME (peek_value),
error);
diff --git a/gtk/gtkstyleproperty.c b/gtk/gtkstyleproperty.c
index 9565897..f0f07b6 100644
--- a/gtk/gtkstyleproperty.c
+++ b/gtk/gtkstyleproperty.c
@@ -41,7 +41,7 @@ gtk_style_property_finalize (GObject *object)
{
GtkStyleProperty *property = GTK_STYLE_PROPERTY (object);
- g_warning ("finalizing %s `%s', how could this happen?", G_OBJECT_TYPE_NAME (object), property->name);
+ g_warning ("finalizing %s '%s', how could this happen?", G_OBJECT_TYPE_NAME (object), property->name);
G_OBJECT_CLASS (_gtk_style_property_parent_class)->finalize (object);
}
diff --git a/gtk/gtktextbtree.c b/gtk/gtktextbtree.c
index 366793d..b7c54b0 100644
--- a/gtk/gtktextbtree.c
+++ b/gtk/gtktextbtree.c
@@ -2734,7 +2734,7 @@ real_set_mark (GtkTextBTree *tree,
if (should_exist && mark == NULL)
{
- g_warning ("No mark `%s' exists!", name);
+ g_warning ("No mark '%s' exists!", name);
return NULL;
}
@@ -2967,7 +2967,7 @@ _gtk_text_btree_remove_mark (GtkTextBTree *tree,
if (segment->body.mark.not_deleteable)
{
- g_warning ("Can't delete special mark `%s'", segment->body.mark.name);
+ g_warning ("Can't delete special mark '%s'", segment->body.mark.name);
return;
}
@@ -7142,7 +7142,7 @@ _gtk_text_btree_spew (GtkTextBTree *tree)
info = list->data;
- printf (" tag `%s': root at %p, toggle count %d\n",
+ printf (" tag '%s': root at %p, toggle count %d\n",
info->tag->priv->name, info->tag_root, info->toggle_count);
list = g_slist_next (list);
@@ -7188,19 +7188,19 @@ _gtk_text_btree_spew_line_short (GtkTextLine *line, int indent)
*s = '\\';
++s;
}
- printf ("%s chars `%s'...\n", spaces, str);
+ printf ("%s chars '%s'...\n", spaces, str);
g_free (str);
}
else if (seg->type == >k_text_right_mark_type)
{
- printf ("%s right mark `%s' visible: %d\n",
+ printf ("%s right mark '%s' visible: %d\n",
spaces,
seg->body.mark.name,
seg->body.mark.visible);
}
else if (seg->type == >k_text_left_mark_type)
{
- printf ("%s left mark `%s' visible: %d\n",
+ printf ("%s left mark '%s' visible: %d\n",
spaces,
seg->body.mark.name,
seg->body.mark.visible);
@@ -7208,7 +7208,7 @@ _gtk_text_btree_spew_line_short (GtkTextLine *line, int indent)
else if (seg->type == >k_text_toggle_on_type ||
seg->type == >k_text_toggle_off_type)
{
- printf ("%s tag `%s' %s\n",
+ printf ("%s tag '%s' %s\n",
spaces, seg->body.toggle.info->tag->priv->name,
seg->type == >k_text_toggle_off_type ? "off" : "on");
}
@@ -7235,7 +7235,7 @@ _gtk_text_btree_spew_node (GtkTextBTreeNode *node, int indent)
s = node->summary;
while (s)
{
- printf ("%s %d toggles of `%s' below this node\n",
+ printf ("%s %d toggles of '%s' below this node\n",
spaces, s->toggle_count, s->info->tag->priv->name);
s = s->next;
}
@@ -7290,19 +7290,19 @@ _gtk_text_btree_spew_segment (GtkTextBTree* tree, GtkTextLineSegment * seg)
if (seg->type == >k_text_char_type)
{
gchar* str = g_strndup (seg->body.chars, seg->byte_count);
- printf (" `%s'\n", str);
+ printf (" '%s'\n", str);
g_free (str);
}
else if (seg->type == >k_text_right_mark_type)
{
- printf (" right mark `%s' visible: %d not_deleteable: %d\n",
+ printf (" right mark '%s' visible: %d not_deleteable: %d\n",
seg->body.mark.name,
seg->body.mark.visible,
seg->body.mark.not_deleteable);
}
else if (seg->type == >k_text_left_mark_type)
{
- printf (" left mark `%s' visible: %d not_deleteable: %d\n",
+ printf (" left mark '%s' visible: %d not_deleteable: %d\n",
seg->body.mark.name,
seg->body.mark.visible,
seg->body.mark.not_deleteable);
@@ -7310,7 +7310,7 @@ _gtk_text_btree_spew_segment (GtkTextBTree* tree, GtkTextLineSegment * seg)
else if (seg->type == >k_text_toggle_on_type ||
seg->type == >k_text_toggle_off_type)
{
- printf (" tag `%s' priority %d\n",
+ printf (" tag '%s' priority %d\n",
seg->body.toggle.info->tag->priv->name,
seg->body.toggle.info->tag->priv->priority);
}
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c
index 7b557b3..1bf1b68 100644
--- a/gtk/gtktextbuffer.c
+++ b/gtk/gtktextbuffer.c
@@ -2684,7 +2684,7 @@ gtk_text_buffer_apply_tag_by_name (GtkTextBuffer *buffer,
if (tag == NULL)
{
- g_warning ("Unknown tag `%s'", name);
+ g_warning ("Unknown tag '%s'", name);
return;
}
@@ -2721,7 +2721,7 @@ gtk_text_buffer_remove_tag_by_name (GtkTextBuffer *buffer,
if (tag == NULL)
{
- g_warning ("Unknown tag `%s'", name);
+ g_warning ("Unknown tag '%s'", name);
return;
}
diff --git a/gtk/gtktexttag.c b/gtk/gtktexttag.c
index 9a11050..a05a6bb 100644
--- a/gtk/gtktexttag.c
+++ b/gtk/gtktexttag.c
@@ -1344,7 +1344,7 @@ gtk_text_tag_set_property (GObject *object,
else if (gdk_rgba_parse (&rgba, g_value_get_string (value)))
set_bg_rgba (text_tag, &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, "background-gdk");
}
@@ -1359,7 +1359,7 @@ gtk_text_tag_set_property (GObject *object,
else if (gdk_rgba_parse (&rgba, g_value_get_string (value)))
set_fg_rgba (text_tag, &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, "foreground-gdk");
}
@@ -1631,7 +1631,7 @@ gtk_text_tag_set_property (GObject *object,
else if (gdk_rgba_parse (&rgba, g_value_get_string (value)))
set_pg_bg_rgba (text_tag, &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, "paragraph-background-gdk");
}
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index cafd11d..9ee894d 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -6488,7 +6488,7 @@ gtk_widget_add_accelerator (GtkWidget *widget,
query.n_params)
{
/* hmm, should be elaborate enough */
- g_warning (G_STRLOC ": widget `%s' has no activatable signal \"%s\" without arguments",
+ g_warning (G_STRLOC ": widget '%s' has no activatable signal \"%s\" without arguments",
G_OBJECT_TYPE_NAME (widget), accel_signal);
return;
}
@@ -6729,7 +6729,7 @@ gtk_widget_real_mnemonic_activate (GtkWidget *widget,
gtk_widget_grab_focus (widget);
else
{
- g_warning ("widget `%s' isn't suitable for mnemonic activation",
+ g_warning ("widget '%s' isn't suitable for mnemonic activation",
G_OBJECT_TYPE_NAME (widget));
gtk_widget_error_bell (widget);
}
@@ -6876,7 +6876,7 @@ _gtk_widget_draw_internal (GtkWidget *widget,
* we don't want to spam stderr in that case.
* We do want to catch errors from
*/
- g_warning ("drawing failure for widget `%s': %s",
+ g_warning ("drawing failure for widget '%s': %s",
G_OBJECT_TYPE_NAME (widget),
cairo_status_to_string (cairo_status (cr)));
}
@@ -11572,7 +11572,7 @@ gtk_widget_get_visual (GtkWidget *widget)
if (gdk_visual_get_screen (visual) == screen)
return visual;
- g_warning ("Ignoring visual set on widget `%s' that is not on the correct screen.",
+ g_warning ("Ignoring visual set on widget '%s' that is not on the correct screen.",
gtk_widget_get_name (widget));
}
}
@@ -12065,7 +12065,7 @@ finalize_assertion_new (GtkWidget *widget,
*/
g_assert (object);
if (!G_IS_OBJECT (object))
- g_critical ("Automated component `%s' of class `%s' seems to have been prematurely finalized",
+ g_critical ("Automated component '%s' of class '%s' seems to have been prematurely finalized",
child_class->name, g_type_name (widget_type));
else
{
@@ -12147,7 +12147,7 @@ gtk_widget_real_destroy (GtkWidget *object)
FinalizeAssertion *assertion = l->data;
if (!assertion->did_finalize)
- g_critical ("Automated component `%s' of class `%s' did not finalize in gtk_widget_destroy(). "
+ g_critical ("Automated component '%s' of class '%s' did not finalize in gtk_widget_destroy(). "
"Current reference count is %d",
assertion->child_class->name,
g_type_name (assertion->widget_type),
@@ -13005,7 +13005,7 @@ gtk_widget_class_install_style_property_parser (GtkWidgetClass *klass,
if (g_param_spec_pool_lookup (style_property_spec_pool, pspec->name, G_OBJECT_CLASS_TYPE (klass), FALSE))
{
- g_warning (G_STRLOC ": class `%s' already contains a style property named `%s'",
+ g_warning (G_STRLOC ": class '%s' already contains a style property named '%s'",
G_OBJECT_CLASS_NAME (klass),
pspec->name);
return;
@@ -13116,7 +13116,7 @@ gtk_widget_style_get_property (GtkWidget *widget,
G_OBJECT_TYPE (widget),
TRUE);
if (!pspec)
- g_warning ("%s: widget class `%s' has no property named `%s'",
+ g_warning ("%s: widget class '%s' has no property named '%s'",
G_STRLOC,
G_OBJECT_TYPE_NAME (widget),
property_name);
@@ -13138,7 +13138,7 @@ gtk_widget_style_get_property (GtkWidget *widget,
else if (g_value_type_transformable (G_PARAM_SPEC_VALUE_TYPE (pspec), G_VALUE_TYPE (value)))
g_value_transform (peek_value, value);
else
- g_warning ("can't retrieve style property `%s' of type `%s' as value of type `%s'",
+ g_warning ("can't retrieve style 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));
@@ -13183,7 +13183,7 @@ gtk_widget_style_get_valist (GtkWidget *widget,
TRUE);
if (!pspec)
{
- g_warning ("%s: widget class `%s' has no property named `%s'",
+ g_warning ("%s: widget class '%s' has no property named '%s'",
G_STRLOC,
G_OBJECT_TYPE_NAME (widget),
name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]