[Workman-devel] [PATCH] WorkmanManager: add properties and implementation

Josh Poimboeuf jpoimboe at redhat.com
Wed Apr 17 19:57:22 UTC 2013


On 03/20/2013 11:05 AM, Josh Poimboeuf wrote:
> +static void
> +workman_manager_set_property(GObject *object,
> +                             guint prop_id,
> +                             const GValue *value,
> +                             GParamSpec *pspec)
> +{
> +    WorkmanManager *self = WORKMAN_MANAGER(object);
> +
> +    switch (prop_id) {
> +        case PROP_PLUGINS:
> +            g_boxed_free(WORKMAN_TYPE_PLUGIN_LIST, self->priv->plugins);
> +            self->priv->plugins = g_value_dup_boxed(value);

Missing a "break" in this case statement.




More information about the Workman-devel mailing list