Commit 8169570a authored by Sébastien Lafargue's avatar Sébastien Lafargue Committed by Ignacio Casal Quinteiro

Use proper function for retrieving 'state' property on window object ( flags instead of enum )

https://bugzilla.gnome.org/show_bug.cgi?id=721730
parent b05f61e8
......@@ -110,8 +110,8 @@ gedit_window_get_property (GObject *object,
switch (prop_id)
{
case PROP_STATE:
g_value_set_enum (value,
gedit_window_get_state (window));
g_value_set_flags (value,
gedit_window_get_state (window));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment