libpurple/conversationtypes.c

changeset 39908
73acdbefa921
parent 39897
16b440d4ab36
child 40061
b3ac7a4a6fc7
equal deleted inserted replaced
39907:ca351705df18 39908:73acdbefa921
535 obj_class->get_property = purple_im_conversation_get_property; 535 obj_class->get_property = purple_im_conversation_get_property;
536 obj_class->set_property = purple_im_conversation_set_property; 536 obj_class->set_property = purple_im_conversation_set_property;
537 537
538 conv_class->write_message = im_conversation_write_message; 538 conv_class->write_message = im_conversation_write_message;
539 539
540 im_properties[IM_PROP_TYPING_STATE] = g_param_spec_enum("typing-state", 540 im_properties[IM_PROP_TYPING_STATE] =
541 "Typing state", 541 g_param_spec_enum("typing-state", "Typing state",
542 "Status of the user's typing of a message.", 542 "Status of the user's typing of a message.",
543 PURPLE_TYPE_IM_TYPING_STATE, PURPLE_IM_NOT_TYPING, 543 PURPLE_TYPE_IM_TYPING_STATE, PURPLE_IM_NOT_TYPING,
544 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | 544 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
545 G_PARAM_STATIC_STRINGS); 545
546 546 im_properties[IM_PROP_ICON] = g_param_spec_pointer(
547 im_properties[IM_PROP_ICON] = g_param_spec_pointer("icon", 547 "icon", "Buddy icon", "The buddy icon for the IM.",
548 "Buddy icon", 548 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
549 "The buddy icon for the IM.",
550 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS |
551 G_PARAM_STATIC_STRINGS);
552 549
553 g_object_class_install_properties(obj_class, IM_PROP_LAST, im_properties); 550 g_object_class_install_properties(obj_class, IM_PROP_LAST, im_properties);
554 } 551 }
555 552
556 PurpleIMConversation * 553 PurpleIMConversation *

mercurial