another small formatting cleanup
svn path=/trunk/; revision=27863
This commit is contained in:
@ -159,9 +159,8 @@ gimp_tag_entry_class_init (GimpTagEntryClass *klass)
|
|||||||
("Filtered container"),
|
("Filtered container"),
|
||||||
("The Filtered container"),
|
("The Filtered container"),
|
||||||
GIMP_TYPE_FILTERED_CONTAINER,
|
GIMP_TYPE_FILTERED_CONTAINER,
|
||||||
G_PARAM_CONSTRUCT_ONLY
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
| G_PARAM_WRITABLE
|
G_PARAM_READWRITE));
|
||||||
| G_PARAM_READABLE));
|
|
||||||
|
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_MODE,
|
PROP_MODE,
|
||||||
@ -170,9 +169,8 @@ gimp_tag_entry_class_init (GimpTagEntryClass *klass)
|
|||||||
("Mode in which to work."),
|
("Mode in which to work."),
|
||||||
GIMP_TYPE_TAG_ENTRY_MODE,
|
GIMP_TYPE_TAG_ENTRY_MODE,
|
||||||
GIMP_TAG_ENTRY_MODE_QUERY,
|
GIMP_TAG_ENTRY_MODE_QUERY,
|
||||||
G_PARAM_CONSTRUCT_ONLY
|
G_PARAM_CONSTRUCT_ONLY |
|
||||||
| G_PARAM_WRITABLE
|
G_PARAM_READWRITE));
|
||||||
| G_PARAM_READABLE));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -259,9 +257,7 @@ gimp_tag_entry_set_property (GObject *object,
|
|||||||
switch (property_id)
|
switch (property_id)
|
||||||
{
|
{
|
||||||
case PROP_CONTAINER:
|
case PROP_CONTAINER:
|
||||||
entry->container = g_value_get_object (value);
|
entry->container = g_value_dup_object (value);
|
||||||
g_assert (GIMP_IS_FILTERED_CONTAINER (entry->container));
|
|
||||||
g_object_ref (entry->container);
|
|
||||||
g_signal_connect (entry->container, "add",
|
g_signal_connect (entry->container, "add",
|
||||||
G_CALLBACK (gimp_tag_entry_container_changed),
|
G_CALLBACK (gimp_tag_entry_container_changed),
|
||||||
entry);
|
entry);
|
||||||
|
Reference in New Issue
Block a user