clutter: Fix a compiler warning
There's no need for a cast for printing an object's type or address, so we can remove variables that are unused when not building with CLUTTER_ENABLE_DEBUG.
This commit is contained in:
parent
a75e2ace82
commit
0745734ba5
@ -78,9 +78,7 @@ enum {
|
|||||||
static void
|
static void
|
||||||
clutter_stage_cogl_unrealize (ClutterStageWindow *stage_window)
|
clutter_stage_cogl_unrealize (ClutterStageWindow *stage_window)
|
||||||
{
|
{
|
||||||
ClutterStageCogl *stage_cogl = CLUTTER_STAGE_COGL (stage_window);
|
CLUTTER_NOTE (BACKEND, "Unrealizing Cogl stage [%p]", stage_window);
|
||||||
|
|
||||||
CLUTTER_NOTE (BACKEND, "Unrealizing Cogl stage [%p]", stage_cogl);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -127,12 +125,11 @@ _clutter_stage_cogl_presented (ClutterStageCogl *stage_cogl,
|
|||||||
static gboolean
|
static gboolean
|
||||||
clutter_stage_cogl_realize (ClutterStageWindow *stage_window)
|
clutter_stage_cogl_realize (ClutterStageWindow *stage_window)
|
||||||
{
|
{
|
||||||
ClutterStageCogl *stage_cogl = CLUTTER_STAGE_COGL (stage_window);
|
|
||||||
ClutterBackend *backend;
|
ClutterBackend *backend;
|
||||||
|
|
||||||
CLUTTER_NOTE (BACKEND, "Realizing stage '%s' [%p]",
|
CLUTTER_NOTE (BACKEND, "Realizing stage '%s' [%p]",
|
||||||
G_OBJECT_TYPE_NAME (stage_cogl),
|
G_OBJECT_TYPE_NAME (stage_window),
|
||||||
stage_cogl);
|
stage_window);
|
||||||
|
|
||||||
backend = clutter_get_default_backend ();
|
backend = clutter_get_default_backend ();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user