ClutterActor *self = CLUTTER_ACTOR (object);
ClutterActorPrivate *priv = self->priv;
- CLUTTER_NOTE (MISC, "Disposing of object (id=%d) of type `%s' (ref_count:%d)",
+ CLUTTER_NOTE (MISC, "Disposing of object (id=%d) of type '%s' (ref_count:%d)",
self->priv->id,
g_type_name (G_OBJECT_TYPE (self)),
object->ref_count);
{
ClutterActor *actor = CLUTTER_ACTOR (object);
- CLUTTER_NOTE (MISC, "Finalize object (id=%d) of type `%s'",
+ CLUTTER_NOTE (MISC, "Finalize object (id=%d) of type '%s'",
actor->priv->id,
g_type_name (G_OBJECT_TYPE (actor)));
if (CLUTTER_PRIVATE_FLAGS (self) & CLUTTER_ACTOR_IS_TOPLEVEL)
{
g_warning ("Unable to set percentage of %s on a top-level "
- "actor of type `%s'",
+ "actor of type '%s'",
(dimension == PARSE_X ||
dimension == PARSE_WIDTH ||
dimension == PARSE_ANCHOR_X) ? "width" : "height",
goto out;
}
- g_warning ("Invalid value `%s': integers, strings or floating point "
+ g_warning ("Invalid value '%s': integers, strings or floating point "
"values can be used for the x, y, width and height "
- "properties. Valid modifiers for strings are `px', 'mm' "
+ "properties. Valid modifiers for strings are 'px', 'mm' "
"and '%%'.",
g_value_get_string (&value));
if (CLUTTER_PRIVATE_FLAGS (self) & CLUTTER_ACTOR_IS_TOPLEVEL)
{
g_warning ("Unable to set percentage of %s on a top-level "
- "actor of type `%s'",
+ "actor of type '%s'",
(dimension == PARSE_X || dimension == PARSE_WIDTH) ? "width"
: "height",
g_type_name (G_OBJECT_TYPE (self)));
}
else
{
- g_warning ("Invalid value of type `%s': integers, strings of floating "
+ g_warning ("Invalid value of type '%s': integers, strings of floating "
"point values can be used for the x, y, width, height "
"anchor-x and anchor-y properties.",
g_type_name (G_VALUE_TYPE (&value)));
if (JSON_NODE_TYPE (node) != JSON_NODE_ARRAY)
{
- g_warning ("Invalid node of type `%s' found, expecting an array",
+ g_warning ("Invalid node of type '%s' found, expecting an array",
json_node_type_name (node));
return FALSE;
}
if (JSON_NODE_TYPE (element) != JSON_NODE_OBJECT)
{
- g_warning ("Invalid node of type `%s' found, expecting an object",
+ g_warning ("Invalid node of type '%s' found, expecting an object",
json_node_type_name (element));
return FALSE;
}
if (!clutter_interval_validate (interval, pspec))
{
- g_warning ("Cannot bind property `%s': the interval is out "
+ g_warning ("Cannot bind property '%s': the interval is out "
"of bounds",
pspec->name);
return;
if (!clutter_interval_validate (interval, pspec))
{
- g_warning ("Cannot bind property `%s': the interval is out "
+ g_warning ("Cannot bind property '%s': the interval is out "
"of bounds",
pspec->name);
return;
if (G_UNLIKELY (!priv->object))
{
- g_warning ("Cannot bind property `%s': the animation has no "
+ g_warning ("Cannot bind property '%s': the animation has no "
"object set. You need to call clutter_animation_set_object() "
"first to be able to bind a property",
property_name);
if (G_UNLIKELY (clutter_animation_has_property (animation, property_name)))
{
- g_warning ("Cannot bind property `%s': the animation already has "
+ g_warning ("Cannot bind property '%s': the animation already has "
"a bound property with the same name",
property_name);
return NULL;
pspec = g_object_class_find_property (klass, property_name);
if (!pspec)
{
- g_warning ("Cannot bind property `%s': objects of type `%s' have "
+ g_warning ("Cannot bind property '%s': objects of type '%s' have "
"no such property",
property_name,
g_type_name (G_OBJECT_TYPE (priv->object)));
if (!(pspec->flags & G_PARAM_WRITABLE))
{
- g_warning ("Cannot bind property `%s': the property is not writable",
+ g_warning ("Cannot bind property '%s': the property is not writable",
property_name);
return NULL;
}
if (!g_value_type_compatible (G_PARAM_SPEC_VALUE_TYPE (pspec),
argtype))
{
- g_warning ("Cannot bind property `%s': the interval value of "
- "type `%s' is not compatible with the property value "
- "of type `%s'",
+ g_warning ("Cannot bind property '%s': the interval value of "
+ "type '%s' is not compatible with the property value "
+ "of type '%s'",
property_name,
g_type_name (argtype),
g_type_name (G_PARAM_SPEC_VALUE_TYPE (pspec)));
if (!clutter_animation_has_property (animation, property_name))
{
- g_warning ("Cannot unbind property `%s': the animation has "
+ g_warning ("Cannot unbind property '%s': the animation has "
"no bound property with that name",
property_name);
return;
if (!clutter_animation_has_property (animation, property_name))
{
- g_warning ("Cannot unbind property `%s': the animation has "
+ g_warning ("Cannot unbind property '%s': the animation has "
"no bound property with that name",
property_name);
return;
pspec = g_object_class_find_property (klass, property_name);
if (!pspec)
{
- g_warning ("Cannot bind property `%s': objects of type `%s' have "
+ g_warning ("Cannot bind property '%s': objects of type '%s' have "
"no such property",
property_name,
g_type_name (G_OBJECT_TYPE (priv->object)));
if (!g_value_type_compatible (G_PARAM_SPEC_VALUE_TYPE (pspec),
clutter_interval_get_value_type (interval)))
{
- g_warning ("Cannot bind property `%s': the interval value of "
- "type `%s' is not compatible with the property value "
- "of type `%s'",
+ g_warning ("Cannot bind property '%s': the interval value of "
+ "type '%s' is not compatible with the property value "
+ "of type '%s'",
property_name,
g_type_name (clutter_interval_get_value_type (interval)),
g_type_name (G_PARAM_SPEC_VALUE_TYPE (pspec)));
initial = clutter_interval_peek_initial_value (interval);
final = clutter_interval_peek_final_value (interval);
- CLUTTER_NOTE (ANIMATION, "Animatable property `%s'", p_name);
+ CLUTTER_NOTE (ANIMATION, "Animatable property '%s'", p_name);
clutter_animatable_animate_property (animatable, animation,
p_name,
initial, final,
}
else
{
- CLUTTER_NOTE (ANIMATION, "Standard property `%s'", p_name);
+ CLUTTER_NOTE (ANIMATION, "Standard property '%s'", p_name);
if (clutter_interval_compute_value (interval, alpha_value, &value))
g_object_set_property (priv->object, p_name, &value);
if (pspec->flags & G_PARAM_CONSTRUCT_ONLY)
{
- g_warning ("Cannot bind property `%s': the property is "
+ g_warning ("Cannot bind property '%s': the property is "
"construct-only",
property_name);
return;
if (!(pspec->flags & G_PARAM_WRITABLE))
{
- g_warning ("Cannot bind property `%s': the property is "
+ g_warning ("Cannot bind property '%s': the property is "
"not writable",
property_name);
return;
G_VALUE_TYPE (value)))
{
g_warning ("%s: Unable to convert from %s to %s for "
- "the property `%s' of object %s",
+ "the property '%s' of object %s",
G_STRLOC,
g_type_name (G_VALUE_TYPE (value)),
g_type_name (G_VALUE_TYPE (&real_value)),
pspec = g_object_class_find_property (klass, property_name);
if (!pspec)
{
- g_warning ("Cannot bind property `%s': objects of type `%s' do "
+ g_warning ("Cannot bind property '%s': objects of type '%s' do "
"not have this property",
property_name,
g_type_name (G_OBJECT_TYPE (priv->object)));
pspec = g_object_class_find_property (klass, property_name);
if (!pspec)
{
- g_warning ("Cannot bind property `%s': objects of type `%s' do "
+ g_warning ("Cannot bind property '%s': objects of type '%s' do "
"not have this property",
property_name,
g_type_name (G_OBJECT_TYPE (priv->object)));
clutter_behaviour_alpha_notify_unimplemented (ClutterBehaviour *behaviour,
gdouble alpha_value)
{
- g_warning ("ClutterBehaviourClass::alpha_notify not implemented for `%s'",
+ g_warning ("ClutterBehaviourClass::alpha_notify not implemented for '%s'",
g_type_name (G_TYPE_FROM_INSTANCE (behaviour)));
}
ClutterColor **color_p = collect_values[0].v_pointer;
if (!color_p)
- return g_strdup_printf ("value location for `%s' passed as NULL",
+ return g_strdup_printf ("value location for '%s' passed as NULL",
G_VALUE_TYPE_NAME (value));
if (!value->data[0].v_pointer)
#define CLUTTER_CONTAINER_WARN_NOT_IMPLEMENTED(container,vfunc) \
G_STMT_START { \
- g_warning ("Container of type `%s' does not implement " \
+ g_warning ("Container of type '%s' does not implement " \
"the required ClutterContainer::%s virtual " \
"function.", \
G_OBJECT_TYPE_NAME ((container)), \
#define CLUTTER_CONTAINER_NOTE_NOT_IMPLEMENTED(container,vfunc) \
G_STMT_START { \
- CLUTTER_NOTE (ACTOR, "Container of type `%s' does not " \
+ CLUTTER_NOTE (ACTOR, "Container of type '%s' does not " \
"implement the ClutterContainer::%s " \
"virtual function.", \
G_OBJECT_TYPE_NAME ((container)), \
parent = clutter_actor_get_parent (actor);
if (parent)
{
- g_warning ("Attempting to add actor of type `%s' to a "
- "container of type `%s', but the actor has "
- "already a parent of type `%s'.",
+ g_warning ("Attempting to add actor of type '%s' to a "
+ "container of type '%s', but the actor has "
+ "already a parent of type '%s'.",
g_type_name (G_OBJECT_TYPE (actor)),
g_type_name (G_OBJECT_TYPE (container)),
g_type_name (G_OBJECT_TYPE (parent)));
parent = clutter_actor_get_parent (actor);
if (parent != CLUTTER_ACTOR (container))
{
- g_warning ("Attempting to remove actor of type `%s' from "
- "group of class `%s', but the container is not "
+ g_warning ("Attempting to remove actor of type '%s' from "
+ "group of class '%s', but the container is not "
"the actor's parent.",
g_type_name (G_OBJECT_TYPE (actor)),
g_type_name (G_OBJECT_TYPE (container)));
if (clutter_actor_get_parent (actor) != CLUTTER_ACTOR (container))
{
- g_warning ("Actor of type `%s' is not a child of the container "
- "of type `%s'",
+ g_warning ("Actor of type '%s' is not a child of the container "
+ "of type '%s'",
g_type_name (G_OBJECT_TYPE (actor)),
g_type_name (G_OBJECT_TYPE (container)));
return;
if (sibling &&
clutter_actor_get_parent (sibling) != CLUTTER_ACTOR (container))
{
- g_warning ("Actor of type `%s' is not a child of the container "
- "of type `%s'",
+ g_warning ("Actor of type '%s' is not a child of the container "
+ "of type '%s'",
g_type_name (G_OBJECT_TYPE (sibling)),
g_type_name (G_OBJECT_TYPE (container)));
return;
if (clutter_actor_get_parent (actor) != CLUTTER_ACTOR (container))
{
- g_warning ("Actor of type `%s' is not a child of the container "
- "of type `%s'",
+ g_warning ("Actor of type '%s' is not a child of the container "
+ "of type '%s'",
g_type_name (G_OBJECT_TYPE (actor)),
g_type_name (G_OBJECT_TYPE (container)));
return;
if (sibling &&
clutter_actor_get_parent (sibling) != CLUTTER_ACTOR (container))
{
- g_warning ("Actor of type `%s' is not a child of the container "
- "of type `%s'",
+ g_warning ("Actor of type '%s' is not a child of the container "
+ "of type '%s'",
g_type_name (G_OBJECT_TYPE (sibling)),
g_type_name (G_OBJECT_TYPE (container)));
return;
if (!g_type_is_a (iface->child_meta_type, CLUTTER_TYPE_CHILD_META))
{
- g_warning ("%s: Child data of type `%s' is not a ClutterChildMeta",
+ g_warning ("%s: Child data of type '%s' is not a ClutterChildMeta",
G_STRLOC, g_type_name (iface->child_meta_type));
return;
}
pspec = clutter_container_class_find_child_property (klass, property);
if (!pspec)
{
- g_warning ("%s: Containers of type `%s' have no child "
- "property named `%s'",
+ g_warning ("%s: Containers of type '%s' have no child "
+ "property named '%s'",
G_STRLOC, G_OBJECT_TYPE_NAME (container), property);
return;
}
if (!(pspec->flags & G_PARAM_WRITABLE))
{
- g_warning ("%s: Child property `%s' of the container `%s' "
+ g_warning ("%s: Child property '%s' of the container '%s' "
"is not writable",
G_STRLOC, pspec->name, G_OBJECT_TYPE_NAME (container));
return;
pspec = clutter_container_class_find_child_property (klass, name);
if (!pspec)
{
- g_warning ("%s: Containers of type `%s' have no child "
- "property named `%s'",
+ g_warning ("%s: Containers of type '%s' have no child "
+ "property named '%s'",
G_STRLOC, G_OBJECT_TYPE_NAME (container), name);
break;
}
if (!(pspec->flags & G_PARAM_WRITABLE))
{
- g_warning ("%s: Child property `%s' of the container `%s' "
+ g_warning ("%s: Child property '%s' of the container '%s' "
"is not writable",
G_STRLOC, pspec->name, G_OBJECT_TYPE_NAME (container));
break;
pspec = clutter_container_class_find_child_property (klass, property);
if (!pspec)
{
- g_warning ("%s: Containers of type `%s' have no child "
- "property named `%s'",
+ g_warning ("%s: Containers of type '%s' have no child "
+ "property named '%s'",
G_STRLOC, G_OBJECT_TYPE_NAME (container), property);
return;
}
if (!(pspec->flags & G_PARAM_READABLE))
{
- g_warning ("%s: Child property `%s' of the container `%s' "
+ g_warning ("%s: Child property '%s' of the container '%s' "
"is not writable",
G_STRLOC, pspec->name, G_OBJECT_TYPE_NAME (container));
return;
pspec = clutter_container_class_find_child_property (klass, name);
if (!pspec)
{
- g_warning ("%s: container `%s' has no child property named `%s'",
+ g_warning ("%s: container '%s' has no child property named '%s'",
G_STRLOC, G_OBJECT_TYPE_NAME (container), name);
break;
}
if (!(pspec->flags & G_PARAM_READABLE))
{
- g_warning ("%s: child property `%s' of container `%s' is not readable",
+ g_warning ("%s: child property '%s' of container '%s' is not readable",
G_STRLOC, pspec->name, G_OBJECT_TYPE_NAME (container));
break;
}
guint column,
GValue *value)
{
- g_warning ("%s: Iterator of type `%s' does not implement the "
+ g_warning ("%s: Iterator of type '%s' does not implement the "
"ClutterModelIter::get_value() virtual function",
G_STRLOC,
g_type_name (G_OBJECT_TYPE (iter)));
guint column,
const GValue *value)
{
- g_warning ("%s: Iterator of type `%s' does not implement the "
+ g_warning ("%s: Iterator of type '%s' does not implement the "
"ClutterModelIter::set_value() virtual function",
G_STRLOC,
g_type_name (G_OBJECT_TYPE (iter)));
static gboolean
clutter_model_iter_is_first_unimplemented (ClutterModelIter *iter)
{
- g_warning ("%s: Iterator of type `%s' does not implement the "
+ g_warning ("%s: Iterator of type '%s' does not implement the "
"ClutterModelIter::is_first() virtual function",
G_STRLOC,
g_type_name (G_OBJECT_TYPE (iter)));
static gboolean
clutter_model_iter_is_last_unimplemented (ClutterModelIter *iter)
{
- g_warning ("%s: Iterator of type `%s' does not implement the "
+ g_warning ("%s: Iterator of type '%s' does not implement the "
"ClutterModelIter::is_last() virtual function",
G_STRLOC,
g_type_name (G_OBJECT_TYPE (iter)));
static ClutterModelIter *
clutter_model_iter_next_unimplemented (ClutterModelIter *iter)
{
- g_warning ("%s: Iterator of type `%s' does not implement the "
+ g_warning ("%s: Iterator of type '%s' does not implement the "
"ClutterModelIter::next() virtual function",
G_STRLOC,
g_type_name (G_OBJECT_TYPE (iter)));
static ClutterModelIter *
clutter_model_iter_prev_unimplemented (ClutterModelIter *iter)
{
- g_warning ("%s: Iterator of type `%s' does not implement the "
+ g_warning ("%s: Iterator of type '%s' does not implement the "
"ClutterModelIter::prev() virtual function",
G_STRLOC,
g_type_name (G_OBJECT_TYPE (iter)));
static ClutterModelIter *
clutter_model_iter_copy_unimplemented (ClutterModelIter *iter)
{
- g_warning ("%s: Iterator of type `%s' does not implement the "
+ g_warning ("%s: Iterator of type '%s' does not implement the "
"ClutterModelIter::copy() virtual function",
G_STRLOC,
g_type_name (G_OBJECT_TYPE (iter)));
if (!clutter_timeline_has_marker (parent, marker_name))
{
- g_warning ("The parent timeline has no marker `%s'", marker_name);
+ g_warning ("The parent timeline has no marker '%s'", marker_name);
return 0;
}
if (G_LIKELY (id))
{
- g_warning ("%s:%d: object `%s' has no `%s' attribute",
+ g_warning ("%s:%d: object '%s' has no '%s' attribute",
priv->is_filename ? priv->filename : "<input>",
json_parser_get_current_line (priv->parser),
id,
}
else
{
- g_warning ("%s:%d: object has no `%s' attribute",
+ g_warning ("%s:%d: object has no '%s' attribute",
priv->is_filename ? priv->filename : "<input>",
json_parser_get_current_line (priv->parser),
attribute);
if (G_LIKELY (node))
{
- g_warning ("%s:%d: invalid value of type `%s' for attribute `%s':"
- "a value of type `%s' is expected",
+ g_warning ("%s:%d: invalid value of type '%s' for attribute '%s':"
+ "a value of type '%s' is expected",
priv->is_filename ? priv->filename : "<input>",
json_parser_get_current_line (priv->parser),
json_node_type_name (node),
}
else
{
- g_warning ("%s:%d: invalid value for attribute `%s':"
- "a value of type `%s' is expected",
+ g_warning ("%s:%d: invalid value for attribute '%s':"
+ "a value of type '%s' is expected",
priv->is_filename ? priv->filename : "<input>",
json_parser_get_current_line (priv->parser),
attribute,
}
CLUTTER_NOTE (SCRIPT,
- "Parsing signal `%s' (handler:%s, object:%s, flags:%d)",
+ "Parsing signal '%s' (handler:%s, object:%s, flags:%d)",
name,
handler, connect, flags);
static GModule *module = NULL;
ClutterAlphaFunc func;
- CLUTTER_NOTE (SCRIPT, "Looking up `%s' alpha function", name);
+ CLUTTER_NOTE (SCRIPT, "Looking up '%s' alpha function", name);
if (G_UNLIKELY (!module))
module = g_module_open (NULL, G_MODULE_BIND_LAZY);
if (g_module_symbol (module, name, (gpointer) &func))
{
- CLUTTER_NOTE (SCRIPT, "Found `%s' alpha function in the symbols table",
+ CLUTTER_NOTE (SCRIPT, "Found '%s' alpha function in the symbols table",
name);
return func;
}
alpha_func = resolve_alpha_func (json_node_get_string (val));
if (!alpha_func)
{
- g_warning ("Unable to find the function `%s' in the "
+ g_warning ("Unable to find the function '%s' in the "
"Clutter alpha functions or the symbols table",
json_node_get_string (val));
}
g_list_free (members);
CLUTTER_NOTE (SCRIPT,
- "Added object `%s' (type:%s, id:%d, props:%d, signals:%d)",
+ "Added object '%s' (type:%s, id:%d, props:%d, signals:%d)",
oinfo->id,
oinfo->class_name,
oinfo->merge_id,
pixbuf = gdk_pixbuf_new_from_file (path, &error);
if (error)
{
- g_warning ("Unable to open image at path `%s': %s",
+ g_warning ("Unable to open image at path '%s': %s",
path,
error->message);
g_error_free (error);
continue;
}
- CLUTTER_NOTE (SCRIPT, "Applying behaviour `%s' to actor of type `%s'",
+ CLUTTER_NOTE (SCRIPT, "Applying behaviour '%s' to actor of type '%s'",
name,
g_type_name (G_OBJECT_TYPE (actor)));
continue;
}
- CLUTTER_NOTE (SCRIPT, "Adding children `%s' to actor of type `%s'",
+ CLUTTER_NOTE (SCRIPT, "Adding children '%s' to actor of type '%s'",
name,
g_type_name (G_OBJECT_TYPE (container)));
GParameter *param = &g_array_index (params, GParameter, i);
CLUTTER_NOTE (SCRIPT,
- "Setting %s property `%s' (type:%s) to object `%s' (id:%s)",
+ "Setting %s property '%s' (type:%s) to object '%s' (id:%s)",
set_custom_property ? "custom" : "regular",
param->name,
g_type_name (G_VALUE_TYPE (¶m->value)),
const float *floats = collect_values[1].v_pointer;
if (!floats)
- return g_strdup_printf ("value location for `%s' passed as NULL",
+ return g_strdup_printf ("value location for '%s' passed as NULL",
G_VALUE_TYPE_NAME (value));
clutter_value_init_shader_float (value);
ClutterShaderFloat *shader_float = value->data[0].v_pointer;
if (!float_count || !floats)
- return g_strdup_printf ("value location for `%s' passed as NULL",
+ return g_strdup_printf ("value location for '%s' passed as NULL",
G_VALUE_TYPE_NAME (value));
*float_count = shader_float->size;
const COGLint *ints = collect_values[1].v_pointer;
if (!ints)
- return g_strdup_printf ("value location for `%s' passed as NULL",
+ return g_strdup_printf ("value location for '%s' passed as NULL",
G_VALUE_TYPE_NAME (value));
clutter_value_init_shader_int (value);
ClutterShaderInt *shader_int = value->data[0].v_pointer;
if (!int_count || !ints)
- return g_strdup_printf ("value location for `%s' passed as NULL",
+ return g_strdup_printf ("value location for '%s' passed as NULL",
G_VALUE_TYPE_NAME (value));
*int_count = shader_int->size;
const float *floats = collect_values[1].v_pointer;
if (!floats)
- return g_strdup_printf ("value location for `%s' passed as NULL",
+ return g_strdup_printf ("value location for '%s' passed as NULL",
G_VALUE_TYPE_NAME (value));
clutter_value_init_shader_matrix (value);
ClutterShaderFloat *shader_float = value->data[0].v_pointer;
if (!float_count || !floats)
- return g_strdup_printf ("value location for `%s' passed as NULL",
+ return g_strdup_printf ("value location for '%s' passed as NULL",
G_VALUE_TYPE_NAME (value));
*float_count = shader_float->size;
* priv->text_color.alpha
/ 255;
- CLUTTER_NOTE (PAINT, "painting text (text:`%s')", priv->text);
+ CLUTTER_NOTE (PAINT, "painting text (text: '%s')", priv->text);
cogl_color_set_from_4ub (&color,
priv->text_color.red,
if (!desc)
{
g_warning ("Attempting to create a PangoFontDescription for "
- "font name `%s', but failed.",
+ "font name '%s', but failed.",
font_name);
return;
}
{
if (G_LIKELY (error))
{
- g_warning ("Failed to set the markup of the actor of class `%s': %s",
+ g_warning ("Failed to set the markup of the actor of class '%s': %s",
G_OBJECT_TYPE_NAME (self),
error->message);
g_error_free (error);
}
else
- g_warning ("Failed to set the markup of the actor of class `%s'",
+ g_warning ("Failed to set the markup of the actor of class '%s'",
G_OBJECT_TYPE_NAME (self));
return;
clutter_texture_set_from_file (texture, path, &error);
if (error)
{
- g_warning ("Unable to open image path at `%s': %s",
+ g_warning ("Unable to open image path at '%s': %s",
path,
error->message);
g_error_free (error);
{
TimelineMarker *marker = l->data;
- CLUTTER_NOTE (SCHEDULER, "Marker `%s' reached", marker->name);
+ CLUTTER_NOTE (SCHEDULER, "Marker '%s' reached", marker->name);
g_signal_emit (timeline, timeline_signals[MARKER_REACHED],
marker->quark,
marker = g_hash_table_lookup (priv->markers_by_name, marker_name);
if (G_UNLIKELY (marker))
{
- g_warning ("A marker named `%s' already exists on frame %d",
+ g_warning ("A marker named '%s' already exists on frame %d",
marker->name,
marker->frame_num);
return;
if (G_UNLIKELY (priv->markers_by_name == NULL ||
priv->markers_by_frame == NULL))
{
- g_warning ("No marker named `%s' found.", marker_name);
+ g_warning ("No marker named '%s' found.", marker_name);
return;
}
marker = g_hash_table_lookup (priv->markers_by_name, marker_name);
if (!marker)
{
- g_warning ("No marker named `%s' found.", marker_name);
+ g_warning ("No marker named '%s' found.", marker_name);
return;
}
if (G_UNLIKELY (priv->markers_by_name == NULL ||
priv->markers_by_frame == NULL))
{
- g_warning ("No marker named `%s' found.", marker_name);
+ g_warning ("No marker named '%s' found.", marker_name);
return;
}
marker = g_hash_table_lookup (priv->markers_by_name, marker_name);
if (!marker)
{
- g_warning ("No marker named `%s' found.", marker_name);
+ g_warning ("No marker named '%s' found.", marker_name);
return;
}
gfloat *units_p = collect_values[0].v_pointer;
if (!units_p)
- return g_strdup_printf ("value location for `%s' passed as NULL",
+ return g_strdup_printf ("value location for '%s' passed as NULL",
G_VALUE_TYPE_NAME (value));
*units_p = value->data[0].v_float;
gint32 *fixed_p = collect_values[0].v_pointer;
if (!fixed_p)
- return g_strdup_printf ("value location for `%s' passed as NULL",
+ return g_strdup_printf ("value location for '%s' passed as NULL",
G_VALUE_TYPE_NAME (value));
*fixed_p = value->data[0].v_int;
clutter_stage_egl_set_fullscreen (ClutterStageWindow *stage_window,
gboolean fullscreen)
{
- g_warning ("Stage of type `%s' do not support ClutterStage::set_fullscreen",
+ g_warning ("Stage of type '%s' do not support ClutterStage::set_fullscreen",
G_OBJECT_TYPE_NAME (stage_window));
}
ClutterStageX11 *stage_x11;
ClutterActor *stage;
- CLUTTER_NOTE (BACKEND, "Creating stage of type `%s'",
+ CLUTTER_NOTE (BACKEND, "Creating stage of type '%s'",
g_type_name (CLUTTER_STAGE_TYPE));
stage = g_object_new (CLUTTER_STAGE_TYPE, NULL);
clutter_stage_egl_set_fullscreen (ClutterStageWindow *stage_window,
gboolean fullscreen)
{
- g_warning ("Stage of type `%s' do not support ClutterStage::set_fullscreen",
+ g_warning ("Stage of type '%s' do not support ClutterStage::set_fullscreen",
G_OBJECT_TYPE_NAME (stage_window));
}
ClutterStageX11 *stage_x11;
ClutterActor *stage;
- CLUTTER_NOTE (BACKEND, "Creating stage of type `%s'",
+ CLUTTER_NOTE (BACKEND, "Creating stage of type '%s'",
g_type_name (CLUTTER_STAGE_TYPE));
stage = g_object_new (CLUTTER_TYPE_STAGE_GLX, NULL);
if (json_object_has_member (object, member_name))
{
- g_warning ("JsonObject already has a `%s' member of type `%s'",
+ g_warning ("JsonObject already has a '%s' member of type '%s'",
member_name,
json_node_type_name (node));
return;
symbol_name = symbol_names + symbols[i].name_offset;
if (msg)
- msg = g_strconcat ("e.g. `", symbol_name, "'", NULL);
+ msg = g_strconcat ("e.g. '", symbol_name, "'", NULL);
}
if (scanner->token > JSON_TOKEN_INVALID &&
g_propagate_error (error, parser->priv->last_error);
parser->priv->last_error = NULL;
}
-#if 0
- /* we set a generic error here; the message from
- * GScanner is relayed in the ::error signal
- */
- g_set_error (error, JSON_PARSER_ERROR,
- JSON_PARSER_ERROR_PARSE,
- "Invalid token `%s' found: expecting %s",
- symbol_name ? symbol_name : "???",
- msg ? msg : "unknown");
-#endif
+
retval = FALSE;
g_free (msg);
ClutterStageWin32 *stage_win32;
ClutterActor *stage;
- CLUTTER_NOTE (BACKEND, "Creating stage of type `%s'",
+ CLUTTER_NOTE (BACKEND, "Creating stage of type '%s'",
g_type_name (CLUTTER_STAGE_TYPE));
stage = g_object_new (CLUTTER_TYPE_STAGE_WIN32, NULL);
{
if (clutter_display_name)
{
- CLUTTER_NOTE (BACKEND, "XOpenDisplay on `%s'",
+ CLUTTER_NOTE (BACKEND, "XOpenDisplay on '%s'",
clutter_display_name);
backend_x11->xdpy = XOpenDisplay (clutter_display_name);
if (backend_x11->xdpy == None)
{
g_set_error (error, CLUTTER_INIT_ERROR,
CLUTTER_INIT_ERROR_BACKEND,
- "Unable to open display `%s'",
+ "Unable to open display '%s'",
clutter_display_name);
return FALSE;
}
g_free (clutter_display_name);
CLUTTER_NOTE (BACKEND,
- "X Display `%s'[%p] opened (screen:%d, root:%u, dpi:%f)",
+ "X Display '%s'[%p] opened (screen:%d, root:%u, dpi:%f)",
backend_x11->display_name,
backend_x11->xdpy,
backend_x11->xscreen_num,
TimelineData *data)
{
if (g_test_verbose ())
- g_print ("%i: Marker `%s' (%d) reached, delta = %i\n",
+ g_print ("%i: Marker '%s' (%d) reached, delta = %i\n",
data->timeline_num, marker_name, frame_num,
clutter_timeline_get_delta (timeline, NULL));
data->markers_hit = g_slist_prepend (data->markers_hit,
for (i = 0; i < level; i++)
g_print (" ");
- g_print ("Started timeline: `%s'\n",
+ g_print ("Started timeline: '%s'\n",
(gchar *) g_object_get_data (G_OBJECT (timeline), "timeline-name"));
level += 1;
for (i = 0; i < level; i++)
g_print (" ");
- g_print ("Completed timeline: `%s'\n",
+ g_print ("Completed timeline: '%s'\n",
(gchar *) g_object_get_data (G_OBJECT (timeline), "timeline-name"));
}
ClutterButtonEvent *event,
gpointer data)
{
- g_print ("[*] Pressed `%s'\n", clutter_get_script_id (G_OBJECT (actor)));
+ g_print ("[*] Pressed '%s'\n", clutter_get_script_id (G_OBJECT (actor)));
g_print ("[*] Unmerging objects with merge id: %d\n", merge_id);
clutter_script_unmerge_objects (script, merge_id);
{
GObject *timeline;
- g_print ("[*] Pressed `%s'\n", clutter_get_script_id (G_OBJECT (actor)));
+ g_print ("[*] Pressed '%s'\n", clutter_get_script_id (G_OBJECT (actor)));
timeline = clutter_script_get_object (script, "main-timeline");
g_assert (CLUTTER_IS_TIMELINE (timeline));