| 913 "cancellable", "cancellable", |
920 "cancellable", "cancellable", |
| 914 "A cancellable for the connection.", |
921 "A cancellable for the connection.", |
| 915 G_TYPE_CANCELLABLE, |
922 G_TYPE_CANCELLABLE, |
| 916 G_PARAM_READABLE | G_PARAM_STATIC_STRINGS); |
923 G_PARAM_READABLE | G_PARAM_STATIC_STRINGS); |
| 917 |
924 |
| |
925 /** |
| |
926 * PurpleConnection:protocol: |
| |
927 * |
| |
928 * The protocol that this connection is for. |
| |
929 * |
| |
930 * Since: 3.0 |
| |
931 */ |
| 918 properties[PROP_PROTOCOL] = g_param_spec_object( |
932 properties[PROP_PROTOCOL] = g_param_spec_object( |
| 919 "protocol", "Protocol", |
933 "protocol", "Protocol", |
| 920 "The protocol that the connection is using.", |
934 "The protocol that the connection is using.", |
| 921 PURPLE_TYPE_PROTOCOL, |
935 PURPLE_TYPE_PROTOCOL, |
| 922 G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS); |
936 G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS); |
| 923 |
937 |
| |
938 /** |
| |
939 * PurpleConnection:flags: |
| |
940 * |
| |
941 * The flags for this connection. |
| |
942 * |
| |
943 * Since: 3.0 |
| |
944 */ |
| 924 properties[PROP_FLAGS] = g_param_spec_flags( |
945 properties[PROP_FLAGS] = g_param_spec_flags( |
| 925 "flags", "Connection flags", |
946 "flags", "Connection flags", |
| 926 "The flags of the connection.", |
947 "The flags of the connection.", |
| 927 PURPLE_TYPE_CONNECTION_FLAGS, 0, |
948 PURPLE_TYPE_CONNECTION_FLAGS, 0, |
| 928 G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS); |
949 G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS); |
| 929 |
950 |
| |
951 /** |
| |
952 * PurpleConnection:state: |
| |
953 * |
| |
954 * The state of the connection. |
| |
955 * |
| |
956 * Since: 3.0 |
| |
957 */ |
| 930 properties[PROP_STATE] = g_param_spec_enum( |
958 properties[PROP_STATE] = g_param_spec_enum( |
| 931 "state", "Connection state", |
959 "state", "Connection state", |
| 932 "The current state of the connection.", |
960 "The current state of the connection.", |
| 933 PURPLE_TYPE_CONNECTION_STATE, PURPLE_CONNECTION_STATE_DISCONNECTED, |
961 PURPLE_TYPE_CONNECTION_STATE, PURPLE_CONNECTION_STATE_DISCONNECTED, |
| 934 G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS); |
962 G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS); |
| 935 |
963 |
| |
964 /** |
| |
965 * PurpleConnection:account: |
| |
966 * |
| |
967 * The account this connection belongs to. |
| |
968 * |
| |
969 * Since: 3.0 |
| |
970 */ |
| 936 properties[PROP_ACCOUNT] = g_param_spec_object( |
971 properties[PROP_ACCOUNT] = g_param_spec_object( |
| 937 "account", "Account", |
972 "account", "Account", |
| 938 "The account using the connection.", PURPLE_TYPE_ACCOUNT, |
973 "The account using the connection.", PURPLE_TYPE_ACCOUNT, |
| 939 G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS); |
974 G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS); |
| 940 |
975 |
| |
976 /** |
| |
977 * PurpleConnection:password: |
| |
978 * |
| |
979 * The password for this connection. |
| |
980 * |
| |
981 * This is only stored for reconnections and may go away in the future. |
| |
982 * |
| |
983 * Since: 3.0 |
| |
984 */ |
| 941 properties[PROP_PASSWORD] = g_param_spec_string( |
985 properties[PROP_PASSWORD] = g_param_spec_string( |
| 942 "password", "Password", |
986 "password", "Password", |
| 943 "The password used for connection.", NULL, |
987 "The password used for connection.", NULL, |
| 944 G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS); |
988 G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS); |
| 945 |
989 |
| |
990 /** |
| |
991 * PurpleConnection:display-name: |
| |
992 * |
| |
993 * The display name for the account. |
| |
994 * |
| |
995 * Since: 3.0 |
| |
996 */ |
| 946 properties[PROP_DISPLAY_NAME] = g_param_spec_string( |
997 properties[PROP_DISPLAY_NAME] = g_param_spec_string( |
| 947 "display-name", "Display name", |
998 "display-name", "Display name", |
| 948 "Your name that appears to other people.", NULL, |
999 "Your name that appears to other people.", NULL, |
| 949 G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS); |
1000 G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS); |
| 950 |
1001 |