The old name of this constant was a relic from the beginnings of
TildaTerminal, when I was still unfamiliar with the GObject system. There
is no longer any problem with using a much more descriptive name.
enum tilda_terminal_properties {
TILDA_TERMINAL_NUMBER = 1,
enum tilda_terminal_properties {
TILDA_TERMINAL_NUMBER = 1,
+ TILDA_TERMINAL_PARENT_WINDOW,
/* All non-constructor-only properties */
TILDA_TERMINAL_BACKGROUND_IMAGE,
/* All non-constructor-only properties */
TILDA_TERMINAL_BACKGROUND_IMAGE,
debug_printf ("terminal number: %d\n", self->number);
break;
debug_printf ("terminal number: %d\n", self->number);
break;
- case TILDA_TERMINAL_TW:
+ case TILDA_TERMINAL_PARENT_WINDOW:
self->parent_window = g_value_get_pointer (value);
debug_printf ("terminal parent window: 0x%x\n", self->parent_window);
break;
self->parent_window = g_value_get_pointer (value);
debug_printf ("terminal parent window: 0x%x\n", self->parent_window);
break;
g_value_set_int (value, self->number);
break;
g_value_set_int (value, self->number);
break;
- case TILDA_TERMINAL_TW:
+ case TILDA_TERMINAL_PARENT_WINDOW:
g_value_set_pointer (value, self->parent_window);
break;
g_value_set_pointer (value, self->parent_window);
break;
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
g_object_class_install_property (gobject_class,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
g_object_class_install_property (gobject_class,
+ TILDA_TERMINAL_PARENT_WINDOW,
pspec);
pspec = g_param_spec_string ("background-image",
pspec);
pspec = g_param_spec_string ("background-image",