gtk_container_class_install_child_property (container_class,
CHILD_PROP_Z_POS,
g_param_spec_uint ("z-pos",
gtk_container_class_install_child_property (container_class,
CHILD_PROP_Z_POS,
g_param_spec_uint ("z-pos",
- P_("Position in Z-List"),
- P_("Sets the blending order of the child."),
+ "Position in Z-List",
+ "Sets the blending order of the child.",
0, 65535, 0,
GTK_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_OPACITY,
g_param_spec_double ("opacity",
0, 65535, 0,
GTK_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_OPACITY,
g_param_spec_double ("opacity",
- GType type;
- gchar *str;
-
- type = GTK_WIDGET_TYPE(widget);
- if (type == GTK_TYPE_DRAWING_AREA)
- str = "drawing area";
- else if (type == GTK_TYPE_ALIGNMENT)
- str = "alignment";
- else if (type == GTK_TYPE_EVENT_BOX)
- str = "event box";
- else if (type == GTK_TYPE_EVENT_BOX)
- str = "event box";
- else
- str = "unknown";
- g_message("%s: %s", msg, str);
+ GType type;
+ gchar *str;
+
+ type = GTK_WIDGET_TYPE(widget);
+ if (type == GTK_TYPE_DRAWING_AREA)
+ str = "drawing area";
+ else if (type == GTK_TYPE_ALIGNMENT)
+ str = "alignment";
+ else if (type == GTK_TYPE_EVENT_BOX)
+ str = "event box";
+ else if (type == GTK_TYPE_EVENT_BOX)
+ str = "event box";
+ else
+ str = "unknown";
+ g_message("%s: %s", msg, str);
compositor->children = g_list_insert_sorted(
compositor->children, cc, zsort);
compositor->children = g_list_insert_sorted(
compositor->children, cc, zsort);
requisition->width = width + GTK_CONTAINER (widget)->border_width * 2;
requisition->height = height + GTK_CONTAINER (widget)->border_width * 2;
requisition->width = width + GTK_CONTAINER (widget)->border_width * 2;
requisition->height = height + GTK_CONTAINER (widget)->border_width * 2;
child_allocation.width = MAX (allocation->width -
GTK_CONTAINER (widget)->border_width * 2, 0);
child_allocation.height = MAX (allocation->height -
child_allocation.width = MAX (allocation->width -
GTK_CONTAINER (widget)->border_width * 2, 0);
child_allocation.height = MAX (allocation->height -
for (link = compositor->children; link != NULL; link = link->next)
{
cc = (GhbCompositorChild*)link->data;
for (link = compositor->children; link != NULL; link = link->next)
{
cc = (GhbCompositorChild*)link->data;