]> git.0d.be Git - empathy.git/blob - python/pyempathygtk/pyempathygtk.defs
Don't set NM presence state on connect when it was unset
[empathy.git] / python / pyempathygtk / pyempathygtk.defs
1 ;; -*- scheme -*-
2 ; object definitions ...
3 (define-object AccountChooser
4   (in-module "Empathy")
5   (parent "GtkComboBox")
6   (c-name "EmpathyAccountChooser")
7   (gtype-id "EMPATHY_TYPE_ACCOUNT_CHOOSER")
8 )
9
10 (define-object AvatarChooser
11   (in-module "Empathy")
12   (parent "GtkButton")
13   (c-name "EmpathyAvatarChooser")
14   (gtype-id "EMPATHY_TYPE_AVATAR_CHOOSER")
15 )
16
17 (define-object AvatarImage
18   (in-module "Empathy")
19   (parent "GtkEventBox")
20   (c-name "EmpathyAvatarImage")
21   (gtype-id "EMPATHY_TYPE_AVATAR_IMAGE")
22 )
23
24 (define-object CellRendererActivatable
25   (in-module "Empathy")
26   (parent "GtkCellRendererPixbuf")
27   (c-name "EmpathyCellRendererActivatable")
28   (gtype-id "EMPATHY_TYPE_CELL_RENDERER_ACTIVATABLE")
29 )
30
31 (define-object CellRendererExpander
32   (in-module "Empathy")
33   (parent "GtkCellRenderer")
34   (c-name "EmpathyCellRendererExpander")
35   (gtype-id "EMPATHY_TYPE_CELL_RENDERER_EXPANDER")
36 )
37
38 (define-object CellRendererText
39   (in-module "Empathy")
40   (parent "GtkCellRendererText")
41   (c-name "EmpathyCellRendererText")
42   (gtype-id "EMPATHY_TYPE_CELL_RENDERER_TEXT")
43 )
44
45 (define-object Chat
46   (in-module "Empathy")
47   (parent "GtkBin")
48   (c-name "EmpathyChat")
49   (gtype-id "EMPATHY_TYPE_CHAT")
50 )
51
52 (define-object ChatTextView
53   (in-module "Empathy")
54   (parent "GtkTextView")
55   (c-name "EmpathyChatTextView")
56   (gtype-id "EMPATHY_TYPE_CHAT_TEXT_VIEW")
57 )
58
59 (define-interface ChatView
60   (in-module "Empathy")
61   (c-name "EmpathyChatView")
62   (gtype-id "EMPATHY_TYPE_CHAT_VIEW")
63 )
64
65 (define-object Conf
66   (in-module "Empathy")
67   (parent "GObject")
68   (c-name "EmpathyConf")
69   (gtype-id "EMPATHY_TYPE_CONF")
70 )
71
72 (define-object ContactListStore
73   (in-module "Empathy")
74   (parent "GtkTreeStore")
75   (c-name "EmpathyContactListStore")
76   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE")
77 )
78
79 (define-object ContactListView
80   (in-module "Empathy")
81   (parent "GtkTreeView")
82   (c-name "EmpathyContactListView")
83   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_VIEW")
84 )
85
86 (define-object ContactSelector
87   (in-module "Empathy")
88   (parent "GtkComboBox")
89   (c-name "EmpathyContactSelector")
90   (gtype-id "EMPATHY_TYPE_CONTACT_SELECTOR")
91 )
92
93 (define-object GstAudioSink
94   (in-module "Empathy")
95   (parent "GstBin")
96   (c-name "EmpathyGstAudioSink")
97   (gtype-id "EMPATHY_TYPE_GST_AUDIO_SINK")
98 )
99
100 (define-object GstAudioSrc
101   (in-module "Empathy")
102   (parent "GstBin")
103   (c-name "EmpathyGstAudioSrc")
104   (gtype-id "EMPATHY_TYPE_GST_AUDIO_SRC")
105 )
106
107 (define-object GstVideoSrc
108   (in-module "Empathy")
109   (parent "GstBin")
110   (c-name "EmpathyGstVideoSrc")
111   (gtype-id "EMPATHY_TYPE_GST_VIDEO_SRC")
112 )
113
114 (define-object PresenceChooser
115   (in-module "Empathy")
116   (parent "GtkComboBoxEntry")
117   (c-name "EmpathyPresenceChooser")
118   (gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
119 )
120
121 (define-object SmileyManager
122   (in-module "Empathy")
123   (parent "GObject")
124   (c-name "EmpathySmileyManager")
125   (gtype-id "EMPATHY_TYPE_SMILEY_MANAGER")
126 )
127
128 (define-object ThemeBoxes
129   (in-module "Empathy")
130   (parent "EmpathyChatTextView")
131   (c-name "EmpathyThemeBoxes")
132   (gtype-id "EMPATHY_TYPE_THEME_BOXES")
133 )
134
135 (define-object ThemeIrc
136   (in-module "Empathy")
137   (parent "EmpathyChatTextView")
138   (c-name "EmpathyThemeIrc")
139   (gtype-id "EMPATHY_TYPE_THEME_IRC")
140 )
141
142 (define-object ThemeManager
143   (in-module "Empathy")
144   (parent "GObject")
145   (c-name "EmpathyThemeManager")
146   (gtype-id "EMPATHY_TYPE_THEME_MANAGER")
147 )
148
149 (define-object VideoWidget
150   (in-module "Empathy")
151   (parent "GtkDrawingArea")
152   (c-name "EmpathyVideoWidget")
153   (gtype-id "EMPATHY_TYPE_VIDEO_WIDGET")
154 )
155
156 ;; Enumerations and flags ...
157
158 (define-enum ContactListStoreSort
159   (in-module "Empathy")
160   (c-name "EmpathyContactListStoreSort")
161   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_SORT")
162   (values
163     '("state" "EMPATHY_CONTACT_LIST_STORE_SORT_STATE")
164     '("name" "EMPATHY_CONTACT_LIST_STORE_SORT_NAME")
165   )
166 )
167
168 (define-enum ContactListStoreCol
169   (in-module "Empathy")
170   (c-name "EmpathyContactListStoreCol")
171   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_COL")
172   (values
173     '("icon-status" "EMPATHY_CONTACT_LIST_STORE_COL_ICON_STATUS")
174     '("pixbuf-avatar" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR")
175     '("pixbuf-avatar-visible" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR_VISIBLE")
176     '("name" "EMPATHY_CONTACT_LIST_STORE_COL_NAME")
177     '("status" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS")
178     '("status-visible" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS_VISIBLE")
179     '("contact" "EMPATHY_CONTACT_LIST_STORE_COL_CONTACT")
180     '("is-group" "EMPATHY_CONTACT_LIST_STORE_COL_IS_GROUP")
181     '("is-active" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ACTIVE")
182     '("is-online" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ONLINE")
183     '("is-separator" "EMPATHY_CONTACT_LIST_STORE_COL_IS_SEPARATOR")
184     '("can-audio-call" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_AUDIO_CALL")
185     '("can-video-call" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_VIDEO_CALL")
186     '("count" "EMPATHY_CONTACT_LIST_STORE_COL_COUNT")
187   )
188 )
189
190 (define-flags ContactListFeatureFlags
191   (in-module "Empathy")
192   (c-name "EmpathyContactListFeatureFlags")
193   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FEATURE_FLAGS")
194   (values
195     '("none" "EMPATHY_CONTACT_LIST_FEATURE_NONE")
196     '("groups-save" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_SAVE")
197     '("groups-rename" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_RENAME")
198     '("groups-remove" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_REMOVE")
199     '("contact-remove" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE")
200     '("contact-drop" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DROP")
201     '("contact-drag" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DRAG")
202     '("contact-tooltip" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_TOOLTIP")
203     '("all" "EMPATHY_CONTACT_LIST_FEATURE_ALL")
204   )
205 )
206
207 (define-flags ContactFeatureFlags
208   (in-module "Empathy")
209   (c-name "EmpathyContactFeatureFlags")
210   (gtype-id "EMPATHY_TYPE_CONTACT_FEATURE_FLAGS")
211   (values
212     '("none" "EMPATHY_CONTACT_FEATURE_NONE")
213     '("chat" "EMPATHY_CONTACT_FEATURE_CHAT")
214     '("call" "EMPATHY_CONTACT_FEATURE_CALL")
215     '("log" "EMPATHY_CONTACT_FEATURE_LOG")
216     '("edit" "EMPATHY_CONTACT_FEATURE_EDIT")
217     '("info" "EMPATHY_CONTACT_FEATURE_INFO")
218     '("all" "EMPATHY_CONTACT_FEATURE_ALL")
219   )
220 )
221
222 (define-flags ContactWidgetFlags
223   (in-module "Empathy")
224   (c-name "EmpathyContactWidgetFlags")
225   (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_FLAGS")
226   (values
227     '("edit-none" "EMPATHY_CONTACT_WIDGET_EDIT_NONE")
228     '("edit-alias" "EMPATHY_CONTACT_WIDGET_EDIT_ALIAS")
229     '("edit-avatar" "EMPATHY_CONTACT_WIDGET_EDIT_AVATAR")
230     '("edit-account" "EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT")
231     '("edit-id" "EMPATHY_CONTACT_WIDGET_EDIT_ID")
232     '("edit-groups" "EMPATHY_CONTACT_WIDGET_EDIT_GROUPS")
233     '("for-tooltip" "EMPATHY_CONTACT_WIDGET_FOR_TOOLTIP")
234     '("show-location" "EMPATHY_CONTACT_WIDGET_SHOW_LOCATION")
235   )
236 )
237
238 (define-enum GstVideoSrcChannel
239   (in-module "Empathy")
240   (c-name "EmpathyGstVideoSrcChannel")
241   (gtype-id "EMPATHY_TYPE_GST_VIDEO_SRC_CHANNEL")
242   (values
243     '("empathy-gst-video-src-channel-contrast" "EMPATHY_GST_VIDEO_SRC_CHANNEL_CONTRAST")
244     '("empathy-gst-video-src-channel-brightness" "EMPATHY_GST_VIDEO_SRC_CHANNEL_BRIGHTNESS")
245     '("empathy-gst-video-src-channel-gamma" "EMPATHY_GST_VIDEO_SRC_CHANNEL_GAMMA")
246     '("nr-empathy-gst-video-src-channels" "NR_EMPATHY_GST_VIDEO_SRC_CHANNELS")
247   )
248 )
249
250 (define-enum Sound
251   (in-module "Empathy")
252   (c-name "EmpathySound")
253   (gtype-id "EMPATHY_TYPE_SOUND")
254   (values
255     '("empathy-sound-message-incoming" "EMPATHY_SOUND_MESSAGE_INCOMING")
256     '("empathy-sound-message-outgoing" "EMPATHY_SOUND_MESSAGE_OUTGOING")
257     '("empathy-sound-conversation-new" "EMPATHY_SOUND_CONVERSATION_NEW")
258     '("empathy-sound-contact-connected" "EMPATHY_SOUND_CONTACT_CONNECTED")
259     '("empathy-sound-contact-disconnected" "EMPATHY_SOUND_CONTACT_DISCONNECTED")
260     '("empathy-sound-account-connected" "EMPATHY_SOUND_ACCOUNT_CONNECTED")
261     '("empathy-sound-account-disconnected" "EMPATHY_SOUND_ACCOUNT_DISCONNECTED")
262     '("empathy-sound-phone-incoming" "EMPATHY_SOUND_PHONE_INCOMING")
263     '("empathy-sound-phone-outgoing" "EMPATHY_SOUND_PHONE_OUTGOING")
264     '("empathy-sound-phone-hangup" "EMPATHY_SOUND_PHONE_HANGUP")
265     '("last-empathy-sound" "LAST_EMPATHY_SOUND")
266   )
267 )
268
269
270 ;; From empathy-account-chooser.h
271
272 (define-function account_chooser_get_type
273   (c-name "empathy_account_chooser_get_type")
274   (return-type "GType")
275 )
276
277 (define-function account_chooser_new
278   (c-name "empathy_account_chooser_new")
279   (is-constructor-of "EmpathyAccountChooser")
280   (return-type "GtkWidget*")
281 )
282
283 (define-method dup_account
284   (of-object "EmpathyAccountChooser")
285   (c-name "empathy_account_chooser_dup_account")
286   (return-type "McAccount*")
287 )
288
289 (define-method get_connection
290   (of-object "EmpathyAccountChooser")
291   (c-name "empathy_account_chooser_get_connection")
292   (return-type "TpConnection*")
293 )
294
295 (define-method set_account
296   (of-object "EmpathyAccountChooser")
297   (c-name "empathy_account_chooser_set_account")
298   (return-type "gboolean")
299   (parameters
300     '("McAccount*" "account")
301   )
302 )
303
304 (define-method get_has_all_option
305   (of-object "EmpathyAccountChooser")
306   (c-name "empathy_account_chooser_get_has_all_option")
307   (return-type "gboolean")
308 )
309
310 (define-method set_has_all_option
311   (of-object "EmpathyAccountChooser")
312   (c-name "empathy_account_chooser_set_has_all_option")
313   (return-type "none")
314   (parameters
315     '("gboolean" "has_all_option")
316   )
317 )
318
319 (define-method set_filter
320   (of-object "EmpathyAccountChooser")
321   (c-name "empathy_account_chooser_set_filter")
322   (return-type "none")
323   (parameters
324     '("EmpathyAccountChooserFilterFunc" "filter")
325     '("gpointer" "user_data")
326   )
327 )
328
329 (define-function account_chooser_filter_is_connected
330   (c-name "empathy_account_chooser_filter_is_connected")
331   (return-type "gboolean")
332   (parameters
333     '("McAccount*" "account")
334     '("gpointer" "user_data")
335   )
336 )
337
338
339
340 ;; From empathy-account-widget.h
341
342 (define-function account_widget_handle_params
343   (c-name "empathy_account_widget_handle_params")
344   (return-type "none")
345   (parameters
346     '("McAccount*" "account")
347     '("GtkBuilder*" "gui")
348     '("const-gchar*" "first_widget")
349   )
350   (varargs #t)
351 )
352
353 (define-function account_widget_add_forget_button
354   (c-name "empathy_account_widget_add_forget_button")
355   (return-type "none")
356   (parameters
357     '("McAccount*" "account")
358     '("GtkBuilder*" "gui")
359     '("const-gchar*" "button")
360     '("const-gchar*" "entry")
361   )
362 )
363
364 (define-function account_widget_set_default_focus
365   (c-name "empathy_account_widget_set_default_focus")
366   (return-type "none")
367   (parameters
368     '("GtkBuilder*" "gui")
369     '("const-gchar*" "entry")
370   )
371 )
372
373 (define-function account_widget_generic_new
374   (c-name "empathy_account_widget_generic_new")
375   (is-constructor-of "EmpathyAccountWidgetGeneric")
376   (return-type "GtkWidget*")
377   (parameters
378     '("McAccount*" "account")
379   )
380 )
381
382 (define-function account_widget_salut_new
383   (c-name "empathy_account_widget_salut_new")
384   (is-constructor-of "EmpathyAccountWidgetSalut")
385   (return-type "GtkWidget*")
386   (parameters
387     '("McAccount*" "account")
388   )
389 )
390
391 (define-function account_widget_msn_new
392   (c-name "empathy_account_widget_msn_new")
393   (is-constructor-of "EmpathyAccountWidgetMsn")
394   (return-type "GtkWidget*")
395   (parameters
396     '("McAccount*" "account")
397   )
398 )
399
400 (define-function account_widget_jabber_new
401   (c-name "empathy_account_widget_jabber_new")
402   (is-constructor-of "EmpathyAccountWidgetJabber")
403   (return-type "GtkWidget*")
404   (parameters
405     '("McAccount*" "account")
406   )
407 )
408
409 (define-function account_widget_icq_new
410   (c-name "empathy_account_widget_icq_new")
411   (is-constructor-of "EmpathyAccountWidgetIcq")
412   (return-type "GtkWidget*")
413   (parameters
414     '("McAccount*" "account")
415   )
416 )
417
418 (define-function account_widget_aim_new
419   (c-name "empathy_account_widget_aim_new")
420   (is-constructor-of "EmpathyAccountWidgetAim")
421   (return-type "GtkWidget*")
422   (parameters
423     '("McAccount*" "account")
424   )
425 )
426
427 (define-function account_widget_yahoo_new
428   (c-name "empathy_account_widget_yahoo_new")
429   (is-constructor-of "EmpathyAccountWidgetYahoo")
430   (return-type "GtkWidget*")
431   (parameters
432     '("McAccount*" "account")
433   )
434 )
435
436 (define-function account_widget_groupwise_new
437   (c-name "empathy_account_widget_groupwise_new")
438   (is-constructor-of "EmpathyAccountWidgetGroupwise")
439   (return-type "GtkWidget*")
440   (parameters
441     '("McAccount*" "account")
442   )
443 )
444
445
446
447 ;; From empathy-account-widget-irc.h
448
449 (define-function account_widget_irc_new
450   (c-name "empathy_account_widget_irc_new")
451   (is-constructor-of "EmpathyAccountWidgetIrc")
452   (return-type "GtkWidget*")
453   (parameters
454     '("McAccount*" "account")
455   )
456 )
457
458
459
460 ;; From empathy-account-widget-sip.h
461
462 (define-function account_widget_sip_new
463   (c-name "empathy_account_widget_sip_new")
464   (is-constructor-of "EmpathyAccountWidgetSip")
465   (return-type "GtkWidget*")
466   (parameters
467     '("McAccount*" "account")
468   )
469 )
470
471
472
473 ;; From empathy-avatar-chooser.h
474
475 (define-function avatar_chooser_get_type
476   (c-name "empathy_avatar_chooser_get_type")
477   (return-type "GType")
478 )
479
480 (define-function avatar_chooser_new
481   (c-name "empathy_avatar_chooser_new")
482   (is-constructor-of "EmpathyAvatarChooser")
483   (return-type "GtkWidget*")
484 )
485
486 (define-method set
487   (of-object "EmpathyAvatarChooser")
488   (c-name "empathy_avatar_chooser_set")
489   (return-type "none")
490   (parameters
491     '("EmpathyAvatar*" "avatar")
492   )
493 )
494
495 (define-method get_image_data
496   (of-object "EmpathyAvatarChooser")
497   (c-name "empathy_avatar_chooser_get_image_data")
498   (return-type "none")
499   (parameters
500     '("const-gchar**" "data")
501     '("gsize*" "data_size")
502     '("const-gchar**" "mime_type")
503   )
504 )
505
506
507
508 ;; From empathy-avatar-image.h
509
510 (define-function avatar_image_get_type
511   (c-name "empathy_avatar_image_get_type")
512   (return-type "GType")
513 )
514
515 (define-function avatar_image_new
516   (c-name "empathy_avatar_image_new")
517   (is-constructor-of "EmpathyAvatarImage")
518   (return-type "GtkWidget*")
519 )
520
521 (define-method set
522   (of-object "EmpathyAvatarImage")
523   (c-name "empathy_avatar_image_set")
524   (return-type "none")
525   (parameters
526     '("EmpathyAvatar*" "avatar")
527   )
528 )
529
530
531
532 ;; From empathy-cell-renderer-activatable.h
533
534 (define-function cell_renderer_activatable_get_type
535   (c-name "empathy_cell_renderer_activatable_get_type")
536   (return-type "GType")
537 )
538
539 (define-function cell_renderer_activatable_new
540   (c-name "empathy_cell_renderer_activatable_new")
541   (is-constructor-of "EmpathyCellRendererActivatable")
542   (return-type "GtkCellRenderer*")
543 )
544
545
546
547 ;; From empathy-cell-renderer-expander.h
548
549 (define-function cell_renderer_expander_get_type
550   (c-name "empathy_cell_renderer_expander_get_type")
551   (return-type "GType")
552 )
553
554 (define-function cell_renderer_expander_new
555   (c-name "empathy_cell_renderer_expander_new")
556   (is-constructor-of "EmpathyCellRendererExpander")
557   (return-type "GtkCellRenderer*")
558 )
559
560
561
562 ;; From empathy-cell-renderer-text.h
563
564 (define-function cell_renderer_text_get_type
565   (c-name "empathy_cell_renderer_text_get_type")
566   (return-type "GType")
567 )
568
569 (define-function cell_renderer_text_new
570   (c-name "empathy_cell_renderer_text_new")
571   (is-constructor-of "EmpathyCellRendererText")
572   (return-type "GtkCellRenderer*")
573 )
574
575
576
577 ;; From empathy-chat.h
578
579 (define-function chat_get_type
580   (c-name "empathy_chat_get_type")
581   (return-type "GType")
582 )
583
584 (define-function chat_new
585   (c-name "empathy_chat_new")
586   (is-constructor-of "EmpathyChat")
587   (return-type "EmpathyChat*")
588   (parameters
589     '("EmpathyTpChat*" "tp_chat")
590   )
591 )
592
593 (define-method get_tp_chat
594   (of-object "EmpathyChat")
595   (c-name "empathy_chat_get_tp_chat")
596   (return-type "EmpathyTpChat*")
597 )
598
599 (define-method set_tp_chat
600   (of-object "EmpathyChat")
601   (c-name "empathy_chat_set_tp_chat")
602   (return-type "none")
603   (parameters
604     '("EmpathyTpChat*" "tp_chat")
605   )
606 )
607
608 (define-method get_account
609   (of-object "EmpathyChat")
610   (c-name "empathy_chat_get_account")
611   (return-type "McAccount*")
612 )
613
614 (define-method get_id
615   (of-object "EmpathyChat")
616   (c-name "empathy_chat_get_id")
617   (return-type "const-gchar*")
618 )
619
620 (define-method get_name
621   (of-object "EmpathyChat")
622   (c-name "empathy_chat_get_name")
623   (return-type "const-gchar*")
624 )
625
626 (define-method get_subject
627   (of-object "EmpathyChat")
628   (c-name "empathy_chat_get_subject")
629   (return-type "const-gchar*")
630 )
631
632 (define-method get_remote_contact
633   (of-object "EmpathyChat")
634   (c-name "empathy_chat_get_remote_contact")
635   (return-type "EmpathyContact*")
636 )
637
638 (define-method get_contact_menu
639   (of-object "EmpathyChat")
640   (c-name "empathy_chat_get_contact_menu")
641   (return-type "GtkWidget*")
642 )
643
644 (define-method clear
645   (of-object "EmpathyChat")
646   (c-name "empathy_chat_clear")
647   (return-type "none")
648 )
649
650 (define-method scroll_down
651   (of-object "EmpathyChat")
652   (c-name "empathy_chat_scroll_down")
653   (return-type "none")
654 )
655
656 (define-method cut
657   (of-object "EmpathyChat")
658   (c-name "empathy_chat_cut")
659   (return-type "none")
660 )
661
662 (define-method copy
663   (of-object "EmpathyChat")
664   (c-name "empathy_chat_copy")
665   (return-type "none")
666 )
667
668 (define-method paste
669   (of-object "EmpathyChat")
670   (c-name "empathy_chat_paste")
671   (return-type "none")
672 )
673
674 (define-method correct_word
675   (of-object "EmpathyChat")
676   (c-name "empathy_chat_correct_word")
677   (return-type "none")
678   (parameters
679     '("GtkTextIter*" "start")
680     '("GtkTextIter*" "end")
681     '("const-gchar*" "new_word")
682   )
683 )
684
685 (define-method is_room
686   (of-object "EmpathyChat")
687   (c-name "empathy_chat_is_room")
688   (return-type "gboolean")
689 )
690
691
692
693 ;; From empathy-chat-text-view.h
694
695 (define-function chat_text_view_get_type
696   (c-name "empathy_chat_text_view_get_type")
697   (return-type "GType")
698 )
699
700 (define-method get_last_contact
701   (of-object "EmpathyChatTextView")
702   (c-name "empathy_chat_text_view_get_last_contact")
703   (return-type "EmpathyContact*")
704 )
705
706 (define-method set_only_if_date
707   (of-object "EmpathyChatTextView")
708   (c-name "empathy_chat_text_view_set_only_if_date")
709   (return-type "none")
710   (parameters
711     '("gboolean" "only_if_date")
712   )
713 )
714
715 (define-method append_body
716   (of-object "EmpathyChatTextView")
717   (c-name "empathy_chat_text_view_append_body")
718   (return-type "none")
719   (parameters
720     '("const-gchar*" "body")
721     '("const-gchar*" "tag")
722   )
723 )
724
725 (define-method append_spacing
726   (of-object "EmpathyChatTextView")
727   (c-name "empathy_chat_text_view_append_spacing")
728   (return-type "none")
729 )
730
731 (define-method tag_set
732   (of-object "EmpathyChatTextView")
733   (c-name "empathy_chat_text_view_tag_set")
734   (return-type "GtkTextTag*")
735   (parameters
736     '("const-gchar*" "tag_name")
737     '("const-gchar*" "first_property_name")
738   )
739   (varargs #t)
740 )
741
742
743
744 ;; From empathy-chat-view.h
745
746 (define-function chat_view_get_type
747   (c-name "empathy_chat_view_get_type")
748   (return-type "GType")
749 )
750
751 (define-method append_message
752   (of-object "EmpathyChatView")
753   (c-name "empathy_chat_view_append_message")
754   (return-type "none")
755   (parameters
756     '("EmpathyMessage*" "msg")
757   )
758 )
759
760 (define-method append_event
761   (of-object "EmpathyChatView")
762   (c-name "empathy_chat_view_append_event")
763   (return-type "none")
764   (parameters
765     '("const-gchar*" "str")
766   )
767 )
768
769 (define-method scroll
770   (of-object "EmpathyChatView")
771   (c-name "empathy_chat_view_scroll")
772   (return-type "none")
773   (parameters
774     '("gboolean" "allow_scrolling")
775   )
776 )
777
778 (define-method scroll_down
779   (of-object "EmpathyChatView")
780   (c-name "empathy_chat_view_scroll_down")
781   (return-type "none")
782 )
783
784 (define-method get_has_selection
785   (of-object "EmpathyChatView")
786   (c-name "empathy_chat_view_get_has_selection")
787   (return-type "gboolean")
788 )
789
790 (define-method clear
791   (of-object "EmpathyChatView")
792   (c-name "empathy_chat_view_clear")
793   (return-type "none")
794 )
795
796 (define-method find_previous
797   (of-object "EmpathyChatView")
798   (c-name "empathy_chat_view_find_previous")
799   (return-type "gboolean")
800   (parameters
801     '("const-gchar*" "search_criteria")
802     '("gboolean" "new_search")
803   )
804 )
805
806 (define-method find_next
807   (of-object "EmpathyChatView")
808   (c-name "empathy_chat_view_find_next")
809   (return-type "gboolean")
810   (parameters
811     '("const-gchar*" "search_criteria")
812     '("gboolean" "new_search")
813   )
814 )
815
816 (define-method find_abilities
817   (of-object "EmpathyChatView")
818   (c-name "empathy_chat_view_find_abilities")
819   (return-type "none")
820   (parameters
821     '("const-gchar*" "search_criteria")
822     '("gboolean*" "can_do_previous")
823     '("gboolean*" "can_do_next")
824   )
825 )
826
827 (define-method highlight
828   (of-object "EmpathyChatView")
829   (c-name "empathy_chat_view_highlight")
830   (return-type "none")
831   (parameters
832     '("const-gchar*" "text")
833   )
834 )
835
836 (define-method copy_clipboard
837   (of-object "EmpathyChatView")
838   (c-name "empathy_chat_view_copy_clipboard")
839   (return-type "none")
840 )
841
842
843
844 ;; From empathy-conf.h
845
846 (define-function conf_get_type
847   (c-name "empathy_conf_get_type")
848   (return-type "GType")
849 )
850
851 (define-function conf_get
852   (c-name "empathy_conf_get")
853   (return-type "EmpathyConf*")
854 )
855
856 (define-function conf_shutdown
857   (c-name "empathy_conf_shutdown")
858   (return-type "none")
859 )
860
861 (define-method notify_add
862   (of-object "EmpathyConf")
863   (c-name "empathy_conf_notify_add")
864   (return-type "guint")
865   (parameters
866     '("const-gchar*" "key")
867     '("EmpathyConfNotifyFunc" "func")
868     '("gpointer" "data")
869   )
870 )
871
872 (define-method notify_remove
873   (of-object "EmpathyConf")
874   (c-name "empathy_conf_notify_remove")
875   (return-type "gboolean")
876   (parameters
877     '("guint" "id")
878   )
879 )
880
881 (define-method set_int
882   (of-object "EmpathyConf")
883   (c-name "empathy_conf_set_int")
884   (return-type "gboolean")
885   (parameters
886     '("const-gchar*" "key")
887     '("gint" "value")
888   )
889 )
890
891 (define-method get_int
892   (of-object "EmpathyConf")
893   (c-name "empathy_conf_get_int")
894   (return-type "gboolean")
895   (parameters
896     '("const-gchar*" "key")
897     '("gint*" "value")
898   )
899 )
900
901 (define-method set_bool
902   (of-object "EmpathyConf")
903   (c-name "empathy_conf_set_bool")
904   (return-type "gboolean")
905   (parameters
906     '("const-gchar*" "key")
907     '("gboolean" "value")
908   )
909 )
910
911 (define-method get_bool
912   (of-object "EmpathyConf")
913   (c-name "empathy_conf_get_bool")
914   (return-type "gboolean")
915   (parameters
916     '("const-gchar*" "key")
917     '("gboolean*" "value")
918   )
919 )
920
921 (define-method set_string
922   (of-object "EmpathyConf")
923   (c-name "empathy_conf_set_string")
924   (return-type "gboolean")
925   (parameters
926     '("const-gchar*" "key")
927     '("const-gchar*" "value")
928   )
929 )
930
931 (define-method get_string
932   (of-object "EmpathyConf")
933   (c-name "empathy_conf_get_string")
934   (return-type "gboolean")
935   (parameters
936     '("const-gchar*" "key")
937     '("gchar**" "value")
938   )
939 )
940
941 (define-method set_string_list
942   (of-object "EmpathyConf")
943   (c-name "empathy_conf_set_string_list")
944   (return-type "gboolean")
945   (parameters
946     '("const-gchar*" "key")
947     '("GSList*" "value")
948   )
949 )
950
951 (define-method get_string_list
952   (of-object "EmpathyConf")
953   (c-name "empathy_conf_get_string_list")
954   (return-type "gboolean")
955   (parameters
956     '("const-gchar*" "key")
957     '("GSList**" "value")
958   )
959 )
960
961
962
963 ;; From empathy-contact-dialogs.h
964
965 (define-function subscription_dialog_show
966   (c-name "empathy_subscription_dialog_show")
967   (return-type "none")
968   (parameters
969     '("EmpathyContact*" "contact")
970     '("GtkWindow*" "parent")
971   )
972 )
973
974 (define-method information_dialog_show
975   (of-object "EmpathyContact")
976   (c-name "empathy_contact_information_dialog_show")
977   (return-type "none")
978   (parameters
979     '("GtkWindow*" "parent")
980   )
981 )
982
983 (define-method edit_dialog_show
984   (of-object "EmpathyContact")
985   (c-name "empathy_contact_edit_dialog_show")
986   (return-type "none")
987   (parameters
988     '("GtkWindow*" "parent")
989   )
990 )
991
992 (define-function contact_personal_dialog_show
993   (c-name "empathy_contact_personal_dialog_show")
994   (return-type "none")
995   (parameters
996     '("GtkWindow*" "parent")
997   )
998 )
999
1000 (define-function new_contact_dialog_show
1001   (c-name "empathy_new_contact_dialog_show")
1002   (return-type "none")
1003   (parameters
1004     '("GtkWindow*" "parent")
1005   )
1006 )
1007
1008
1009
1010 ;; From empathy-contact-list-store.h
1011
1012 (define-function contact_list_store_get_type
1013   (c-name "empathy_contact_list_store_get_type")
1014   (return-type "GType")
1015 )
1016
1017 (define-function empathy_contact_list_store_new
1018   (is-constructor-of "EmpathyContactListStore")
1019   (c-name "empathy_contact_list_store_new")
1020   (return-type "EmpathyContactListStore*")
1021   (parameters
1022     '("EmpathyContactList*" "list_iface")
1023   )
1024 )
1025
1026 (define-method get_list_iface
1027   (of-object "EmpathyContactListStore")
1028   (c-name "empathy_contact_list_store_get_list_iface")
1029   (return-type "EmpathyContactList*")
1030 )
1031
1032 (define-method get_show_offline
1033   (of-object "EmpathyContactListStore")
1034   (c-name "empathy_contact_list_store_get_show_offline")
1035   (return-type "gboolean")
1036 )
1037
1038 (define-method set_show_offline
1039   (of-object "EmpathyContactListStore")
1040   (c-name "empathy_contact_list_store_set_show_offline")
1041   (return-type "none")
1042   (parameters
1043     '("gboolean" "show_offline")
1044   )
1045 )
1046
1047 (define-method get_show_avatars
1048   (of-object "EmpathyContactListStore")
1049   (c-name "empathy_contact_list_store_get_show_avatars")
1050   (return-type "gboolean")
1051 )
1052
1053 (define-method set_show_avatars
1054   (of-object "EmpathyContactListStore")
1055   (c-name "empathy_contact_list_store_set_show_avatars")
1056   (return-type "none")
1057   (parameters
1058     '("gboolean" "show_avatars")
1059   )
1060 )
1061
1062 (define-method get_show_groups
1063   (of-object "EmpathyContactListStore")
1064   (c-name "empathy_contact_list_store_get_show_groups")
1065   (return-type "gboolean")
1066 )
1067
1068 (define-method set_show_groups
1069   (of-object "EmpathyContactListStore")
1070   (c-name "empathy_contact_list_store_set_show_groups")
1071   (return-type "none")
1072   (parameters
1073     '("gboolean" "show_groups")
1074   )
1075 )
1076
1077 (define-method get_is_compact
1078   (of-object "EmpathyContactListStore")
1079   (c-name "empathy_contact_list_store_get_is_compact")
1080   (return-type "gboolean")
1081 )
1082
1083 (define-method set_is_compact
1084   (of-object "EmpathyContactListStore")
1085   (c-name "empathy_contact_list_store_set_is_compact")
1086   (return-type "none")
1087   (parameters
1088     '("gboolean" "is_compact")
1089   )
1090 )
1091
1092 (define-method get_sort_criterium
1093   (of-object "EmpathyContactListStore")
1094   (c-name "empathy_contact_list_store_get_sort_criterium")
1095   (return-type "EmpathyContactListStoreSort")
1096 )
1097
1098 (define-method set_sort_criterium
1099   (of-object "EmpathyContactListStore")
1100   (c-name "empathy_contact_list_store_set_sort_criterium")
1101   (return-type "none")
1102   (parameters
1103     '("EmpathyContactListStoreSort" "sort_criterium")
1104   )
1105 )
1106
1107 (define-function contact_list_store_row_separator_func
1108   (c-name "empathy_contact_list_store_row_separator_func")
1109   (return-type "gboolean")
1110   (parameters
1111     '("GtkTreeModel*" "model")
1112     '("GtkTreeIter*" "iter")
1113     '("gpointer" "data")
1114   )
1115 )
1116
1117 (define-function contact_list_store_get_parent_group
1118   (c-name "empathy_contact_list_store_get_parent_group")
1119   (return-type "gchar*")
1120   (parameters
1121     '("GtkTreeModel*" "model")
1122     '("GtkTreePath*" "path")
1123     '("gboolean*" "path_is_group")
1124   )
1125 )
1126
1127 (define-function contact_list_store_search_equal_func
1128   (c-name "empathy_contact_list_store_search_equal_func")
1129   (return-type "gboolean")
1130   (parameters
1131     '("GtkTreeModel*" "model")
1132     '("gint" "column")
1133     '("const-gchar*" "key")
1134     '("GtkTreeIter*" "iter")
1135     '("gpointer" "search_data")
1136   )
1137 )
1138
1139
1140
1141 ;; From empathy-contact-list-view.h
1142
1143 (define-function contact_list_view_get_type
1144   (c-name "empathy_contact_list_view_get_type")
1145   (return-type "GType")
1146 )
1147
1148 (define-function contact_list_view_new
1149   (c-name "empathy_contact_list_view_new")
1150   (is-constructor-of "EmpathyContactListView")
1151   (return-type "EmpathyContactListView*")
1152   (parameters
1153     '("EmpathyContactListStore*" "store")
1154     '("EmpathyContactListFeatureFlags" "list_features")
1155     '("EmpathyContactFeatureFlags" "contact_features")
1156   )
1157 )
1158
1159 (define-method dup_selected
1160   (of-object "EmpathyContactListView")
1161   (c-name "empathy_contact_list_view_dup_selected")
1162   (return-type "EmpathyContact*")
1163 )
1164
1165 (define-method get_selected_group
1166   (of-object "EmpathyContactListView")
1167   (c-name "empathy_contact_list_view_get_selected_group")
1168   (return-type "gchar*")
1169 )
1170
1171 (define-method get_contact_menu
1172   (of-object "EmpathyContactListView")
1173   (c-name "empathy_contact_list_view_get_contact_menu")
1174   (return-type "GtkWidget*")
1175 )
1176
1177 (define-method get_group_menu
1178   (of-object "EmpathyContactListView")
1179   (c-name "empathy_contact_list_view_get_group_menu")
1180   (return-type "GtkWidget*")
1181 )
1182
1183
1184
1185 ;; From empathy-contact-menu.h
1186
1187 (define-method menu_new
1188   (of-object "EmpathyContact")
1189   (c-name "empathy_contact_menu_new")
1190   (return-type "GtkWidget*")
1191   (parameters
1192     '("EmpathyContactFeatureFlags" "features")
1193   )
1194 )
1195
1196 (define-method chat_menu_item_new
1197   (of-object "EmpathyContact")
1198   (c-name "empathy_contact_chat_menu_item_new")
1199   (return-type "GtkWidget*")
1200 )
1201
1202 (define-method audio_call_menu_item_new
1203   (of-object "EmpathyContact")
1204   (c-name "empathy_contact_audio_call_menu_item_new")
1205   (return-type "GtkWidget*")
1206 )
1207
1208 (define-method video_call_menu_item_new
1209   (of-object "EmpathyContact")
1210   (c-name "empathy_contact_video_call_menu_item_new")
1211   (return-type "GtkWidget*")
1212 )
1213
1214 (define-method log_menu_item_new
1215   (of-object "EmpathyContact")
1216   (c-name "empathy_contact_log_menu_item_new")
1217   (return-type "GtkWidget*")
1218 )
1219
1220 (define-method info_menu_item_new
1221   (of-object "EmpathyContact")
1222   (c-name "empathy_contact_info_menu_item_new")
1223   (return-type "GtkWidget*")
1224 )
1225
1226 (define-method edit_menu_item_new
1227   (of-object "EmpathyContact")
1228   (c-name "empathy_contact_edit_menu_item_new")
1229   (return-type "GtkWidget*")
1230 )
1231
1232 (define-method invite_menu_item_new
1233   (of-object "EmpathyContact")
1234   (c-name "empathy_contact_invite_menu_item_new")
1235   (return-type "GtkWidget*")
1236 )
1237
1238 (define-method file_transfer_menu_item_new
1239   (of-object "EmpathyContact")
1240   (c-name "empathy_contact_file_transfer_menu_item_new")
1241   (return-type "GtkWidget*")
1242 )
1243
1244
1245
1246 ;; From empathy-contact-selector.h
1247
1248 (define-function contact_selector_get_type
1249   (c-name "empathy_contact_selector_get_type")
1250   (return-type "GType")
1251 )
1252
1253 (define-function contact_selector_new
1254   (c-name "empathy_contact_selector_new")
1255   (is-constructor-of "EmpathyContactSelector")
1256   (return-type "GtkWidget*")
1257   (parameters
1258     '("EmpathyContactList*" "contact_list")
1259   )
1260 )
1261
1262 (define-method dup_selected
1263   (of-object "EmpathyContactSelector")
1264   (c-name "empathy_contact_selector_dup_selected")
1265   (return-type "EmpathyContact*")
1266 )
1267
1268 (define-method set_visible
1269   (of-object "EmpathyContactSelector")
1270   (c-name "empathy_contact_selector_set_visible")
1271   (return-type "none")
1272   (parameters
1273     '("EmpathyContactSelectorFilterFunc" "func")
1274     '("gpointer" "user_data")
1275   )
1276 )
1277
1278
1279
1280 ;; From empathy-contact-widget.h
1281
1282 (define-method widget_new
1283   (of-object "EmpathyContact")
1284   (c-name "empathy_contact_widget_new")
1285   (return-type "GtkWidget*")
1286   (parameters
1287     '("EmpathyContactWidgetFlags" "flags")
1288   )
1289 )
1290
1291 (define-function contact_widget_get_contact
1292   (c-name "empathy_contact_widget_get_contact")
1293   (return-type "EmpathyContact*")
1294   (parameters
1295     '("GtkWidget*" "widget")
1296   )
1297 )
1298
1299 (define-function contact_widget_set_contact
1300   (c-name "empathy_contact_widget_set_contact")
1301   (return-type "none")
1302   (parameters
1303     '("GtkWidget*" "widget")
1304     '("EmpathyContact*" "contact")
1305   )
1306 )
1307
1308 (define-function contact_widget_set_account_filter
1309   (c-name "empathy_contact_widget_set_account_filter")
1310   (return-type "none")
1311   (parameters
1312     '("GtkWidget*" "widget")
1313     '("EmpathyAccountChooserFilterFunc" "filter")
1314     '("gpointer" "user_data")
1315   )
1316 )
1317
1318
1319
1320 ;; From empathy-geometry.h
1321
1322 (define-function geometry_save
1323   (c-name "empathy_geometry_save")
1324   (return-type "none")
1325   (parameters
1326     '("const-gchar*" "name")
1327     '("gint" "x")
1328     '("gint" "y")
1329     '("gint" "w")
1330     '("gint" "h")
1331   )
1332 )
1333
1334 (define-function geometry_load
1335   (c-name "empathy_geometry_load")
1336   (return-type "none")
1337   (parameters
1338     '("const-gchar*" "name")
1339     '("gint*" "x")
1340     '("gint*" "y")
1341     '("gint*" "w")
1342     '("gint*" "h")
1343   )
1344 )
1345
1346
1347
1348 ;; From empathy-audio-sink.h
1349
1350 (define-function audio_sink_get_type
1351   (c-name "empathy_audio_sink_get_type")
1352   (return-type "GType")
1353 )
1354
1355 (define-function audio_sink_new
1356   (c-name "empathy_audio_sink_new")
1357   (is-constructor-of "EmpathyAudioSink")
1358   (return-type "GstElement*")
1359 )
1360
1361 (define-function audio_sink_set_volume
1362   (c-name "empathy_audio_sink_set_volume")
1363   (return-type "none")
1364   (parameters
1365     '("EmpathyGstAudioSink*" "sink")
1366     '("gdouble" "volume")
1367   )
1368 )
1369
1370 (define-function audio_sink_get_volume
1371   (c-name "empathy_audio_sink_get_volume")
1372   (return-type "gdouble")
1373   (parameters
1374     '("EmpathyGstAudioSink*" "sink")
1375   )
1376 )
1377
1378
1379
1380 ;; From empathy-audio-src.h
1381
1382 (define-function audio_src_get_type
1383   (c-name "empathy_audio_src_get_type")
1384   (return-type "GType")
1385 )
1386
1387 (define-function audio_src_new
1388   (c-name "empathy_audio_src_new")
1389   (is-constructor-of "EmpathyAudioSrc")
1390   (return-type "GstElement*")
1391 )
1392
1393 (define-function audio_src_set_volume
1394   (c-name "empathy_audio_src_set_volume")
1395   (return-type "none")
1396   (parameters
1397     '("EmpathyGstAudioSrc*" "src")
1398     '("gdouble" "volume")
1399   )
1400 )
1401
1402 (define-function audio_src_get_volume
1403   (c-name "empathy_audio_src_get_volume")
1404   (return-type "gdouble")
1405   (parameters
1406     '("EmpathyGstAudioSrc*" "src")
1407   )
1408 )
1409
1410
1411
1412 ;; From empathy-video-src.h
1413
1414 (define-function video_src_get_type
1415   (c-name "empathy_video_src_get_type")
1416   (return-type "GType")
1417 )
1418
1419 (define-function video_src_new
1420   (c-name "empathy_video_src_new")
1421   (is-constructor-of "EmpathyVideoSrc")
1422   (return-type "GstElement*")
1423 )
1424
1425 (define-function video_src_get_supported_channels
1426   (c-name "empathy_video_src_get_supported_channels")
1427   (return-type "guint")
1428   (parameters
1429     '("GstElement*" "src")
1430   )
1431 )
1432
1433 (define-function video_src_set_channel
1434   (c-name "empathy_video_src_set_channel")
1435   (return-type "none")
1436   (parameters
1437     '("GstElement*" "src")
1438     '("EmpathyGstVideoSrcChannel" "channel")
1439     '("guint" "percent")
1440   )
1441 )
1442
1443 (define-function video_src_get_channel
1444   (c-name "empathy_video_src_get_channel")
1445   (return-type "guint")
1446   (parameters
1447     '("GstElement*" "src")
1448     '("EmpathyGstVideoSrcChannel" "channel")
1449   )
1450 )
1451
1452
1453
1454 ;; From empathy-video-widget.h
1455
1456 (define-function video_widget_get_type
1457   (c-name "empathy_video_widget_get_type")
1458   (return-type "GType")
1459 )
1460
1461 (define-function video_widget_new
1462   (c-name "empathy_video_widget_new")
1463   (is-constructor-of "EmpathyVideoWidget")
1464   (return-type "GtkWidget*")
1465   (parameters
1466     '("GstBus*" "bus")
1467   )
1468 )
1469
1470 (define-function video_widget_new_with_size
1471   (c-name "empathy_video_widget_new_with_size")
1472   (return-type "GtkWidget*")
1473   (parameters
1474     '("GstBus*" "bus")
1475     '("gint" "width")
1476     '("gint" "height")
1477   )
1478 )
1479
1480 (define-method get_element
1481   (of-object "EmpathyVideoWidget")
1482   (c-name "empathy_video_widget_get_element")
1483   (return-type "GstElement*")
1484 )
1485
1486 (define-method get_sink
1487   (of-object "EmpathyVideoWidget")
1488   (c-name "empathy_video_widget_get_sink")
1489   (return-type "GstPad*")
1490 )
1491
1492
1493
1494 ;; From empathy-images.h
1495
1496
1497
1498 ;; From empathy-irc-network-dialog.h
1499
1500 (define-method dialog_show
1501   (of-object "EmpathyIrcNetwork")
1502   (c-name "empathy_irc_network_dialog_show")
1503   (return-type "GtkWidget*")
1504   (parameters
1505     '("GtkWidget*" "parent")
1506   )
1507 )
1508
1509
1510
1511 ;; From empathy-log-window.h
1512
1513 (define-function log_window_show
1514   (c-name "empathy_log_window_show")
1515   (return-type "GtkWidget*")
1516   (parameters
1517     '("McAccount*" "account")
1518     '("const-gchar*" "chat_id")
1519     '("gboolean" "chatroom")
1520     '("GtkWindow*" "parent")
1521   )
1522 )
1523
1524
1525
1526 ;; From empathy-new-message-dialog.h
1527
1528 (define-function new_message_dialog_show
1529   (c-name "empathy_new_message_dialog_show")
1530   (return-type "GtkWidget*")
1531   (parameters
1532     '("GtkWindow*" "parent")
1533   )
1534 )
1535
1536
1537
1538 ;; From empathy-presence-chooser.h
1539
1540 (define-function presence_chooser_get_type
1541   (c-name "empathy_presence_chooser_get_type")
1542   (return-type "GType")
1543 )
1544
1545 (define-function presence_chooser_new
1546   (c-name "empathy_presence_chooser_new")
1547   (is-constructor-of "EmpathyPresenceChooser")
1548   (return-type "GtkWidget*")
1549 )
1550
1551 (define-function presence_chooser_create_menu
1552   (c-name "empathy_presence_chooser_create_menu")
1553   (return-type "GtkWidget*")
1554 )
1555
1556
1557
1558 ;; From empathy-profile-chooser.h
1559
1560 (define-function profile_chooser_new
1561   (c-name "empathy_profile_chooser_new")
1562   (is-constructor-of "EmpathyProfileChooser")
1563   (return-type "GtkWidget*")
1564 )
1565
1566 (define-function profile_chooser_dup_selected
1567   (c-name "empathy_profile_chooser_dup_selected")
1568   (return-type "McProfile*")
1569   (parameters
1570     '("GtkWidget*" "widget")
1571   )
1572 )
1573
1574 (define-function profile_chooser_n_profiles
1575   (c-name "empathy_profile_chooser_n_profiles")
1576   (return-type "gint")
1577   (parameters
1578     '("GtkWidget*" "widget")
1579   )
1580 )
1581
1582
1583
1584 ;; From empathy-smiley-manager.h
1585
1586 (define-function smiley_manager_get_type
1587   (c-name "empathy_smiley_manager_get_type")
1588   (return-type "GType")
1589 )
1590
1591 (define-function smiley_manager_dup_singleton
1592   (c-name "empathy_smiley_manager_dup_singleton")
1593   (return-type "EmpathySmileyManager*")
1594 )
1595
1596 (define-method load
1597   (of-object "EmpathySmileyManager")
1598   (c-name "empathy_smiley_manager_load")
1599   (return-type "none")
1600 )
1601
1602 (define-method add
1603   (of-object "EmpathySmileyManager")
1604   (c-name "empathy_smiley_manager_add")
1605   (return-type "none")
1606   (parameters
1607     '("const-gchar*" "icon_name")
1608     '("const-gchar*" "first_str")
1609   )
1610   (varargs #t)
1611 )
1612
1613 (define-method add_from_pixbuf
1614   (of-object "EmpathySmileyManager")
1615   (c-name "empathy_smiley_manager_add_from_pixbuf")
1616   (return-type "none")
1617   (parameters
1618     '("GdkPixbuf*" "smiley")
1619     '("const-gchar*" "first_str")
1620   )
1621   (varargs #t)
1622 )
1623
1624 (define-method get_all
1625   (of-object "EmpathySmileyManager")
1626   (c-name "empathy_smiley_manager_get_all")
1627   (return-type "GSList*")
1628 )
1629
1630 (define-method parse
1631   (of-object "EmpathySmileyManager")
1632   (c-name "empathy_smiley_manager_parse")
1633   (return-type "GSList*")
1634   (parameters
1635     '("const-gchar*" "text")
1636   )
1637 )
1638
1639 (define-function smiley_menu_new
1640   (c-name "empathy_smiley_menu_new")
1641   (is-constructor-of "EmpathySmileyMenu")
1642   (return-type "GtkWidget*")
1643   (parameters
1644     '("EmpathySmileyManager*" "manager")
1645     '("EmpathySmileyMenuFunc" "func")
1646     '("gpointer" "user_data")
1647   )
1648 )
1649
1650 (define-method free
1651   (of-object "EmpathySmiley")
1652   (c-name "empathy_smiley_free")
1653   (return-type "none")
1654 )
1655
1656
1657
1658 ;; From empathy-spell.h
1659
1660 (define-function spell_supported
1661   (c-name "empathy_spell_supported")
1662   (return-type "gboolean")
1663 )
1664
1665 (define-function spell_get_language_name
1666   (c-name "empathy_spell_get_language_name")
1667   (return-type "const-gchar*")
1668   (parameters
1669     '("const-gchar*" "code")
1670   )
1671 )
1672
1673 (define-function spell_get_language_codes
1674   (c-name "empathy_spell_get_language_codes")
1675   (return-type "GList*")
1676 )
1677
1678 (define-function spell_free_language_codes
1679   (c-name "empathy_spell_free_language_codes")
1680   (return-type "none")
1681   (parameters
1682     '("GList*" "codes")
1683   )
1684 )
1685
1686 (define-function spell_check
1687   (c-name "empathy_spell_check")
1688   (return-type "gboolean")
1689   (parameters
1690     '("const-gchar*" "word")
1691   )
1692 )
1693
1694 (define-function spell_get_suggestions
1695   (c-name "empathy_spell_get_suggestions")
1696   (return-type "GList*")
1697   (parameters
1698     '("const-gchar*" "word")
1699   )
1700 )
1701
1702 (define-function spell_free_suggestions
1703   (c-name "empathy_spell_free_suggestions")
1704   (return-type "none")
1705   (parameters
1706     '("GList*" "suggestions")
1707   )
1708 )
1709
1710
1711
1712 ;; From empathy-theme-boxes.h
1713
1714 (define-function theme_boxes_get_type
1715   (c-name "empathy_theme_boxes_get_type")
1716   (return-type "GType")
1717 )
1718
1719 (define-function theme_boxes_new
1720   (c-name "empathy_theme_boxes_new")
1721   (is-constructor-of "EmpathyThemeBoxes")
1722   (return-type "EmpathyThemeBoxes*")
1723 )
1724
1725
1726
1727 ;; From empathy-theme-irc.h
1728
1729 (define-function theme_irc_get_type
1730   (c-name "empathy_theme_irc_get_type")
1731   (return-type "GType")
1732 )
1733
1734 (define-function theme_irc_new
1735   (c-name "empathy_theme_irc_new")
1736   (is-constructor-of "EmpathyThemeIrc")
1737   (return-type "EmpathyThemeIrc*")
1738 )
1739
1740
1741
1742 ;; From empathy-theme-manager.h
1743
1744 (define-function theme_manager_get_type
1745   (c-name "empathy_theme_manager_get_type")
1746   (return-type "GType")
1747 )
1748
1749 (define-function theme_manager_get
1750   (c-name "empathy_theme_manager_get")
1751   (return-type "EmpathyThemeManager*")
1752 )
1753
1754 (define-function theme_manager_get_themes
1755   (c-name "empathy_theme_manager_get_themes")
1756   (return-type "const-gchar**")
1757 )
1758
1759 (define-method create_view
1760   (of-object "EmpathyThemeManager")
1761   (c-name "empathy_theme_manager_create_view")
1762   (return-type "EmpathyChatView*")
1763 )
1764
1765
1766
1767 ;; From empathy-ui-utils.h
1768
1769 (define-function gtk_init
1770   (c-name "empathy_gtk_init")
1771   (return-type "none")
1772 )
1773
1774 (define-function uri_regex_dup_singleton
1775   (c-name "empathy_uri_regex_dup_singleton")
1776   (return-type "GRegex*")
1777 )
1778
1779 (define-function builder_get_file
1780   (c-name "empathy_builder_get_file")
1781   (return-type "GtkBuilder*")
1782   (parameters
1783     '("const-gchar*" "filename")
1784     '("const-gchar*" "first_object")
1785   )
1786   (varargs #t)
1787 )
1788
1789 (define-function builder_connect
1790   (c-name "empathy_builder_connect")
1791   (return-type "none")
1792   (parameters
1793     '("GtkBuilder*" "gui")
1794     '("gpointer" "user_data")
1795     '("gchar*" "first_object")
1796   )
1797   (varargs #t)
1798 )
1799
1800 (define-function builder_unref_and_keep_widget
1801   (c-name "empathy_builder_unref_and_keep_widget")
1802   (return-type "GtkWidget*")
1803   (parameters
1804     '("GtkBuilder*" "gui")
1805     '("GtkWidget*" "root")
1806   )
1807 )
1808
1809 (define-function icon_name_from_account
1810   (c-name "empathy_icon_name_from_account")
1811   (return-type "const-gchar*")
1812   (parameters
1813     '("McAccount*" "account")
1814   )
1815 )
1816
1817 (define-function icon_name_for_presence
1818   (c-name "empathy_icon_name_for_presence")
1819   (return-type "const-gchar*")
1820   (parameters
1821     '("TpConnectionPresenceType" "presence")
1822   )
1823 )
1824
1825 (define-function icon_name_for_contact
1826   (c-name "empathy_icon_name_for_contact")
1827   (return-type "const-gchar*")
1828   (parameters
1829     '("EmpathyContact*" "contact")
1830   )
1831 )
1832
1833 (define-function pixbuf_from_data
1834   (c-name "empathy_pixbuf_from_data")
1835   (return-type "GdkPixbuf*")
1836   (parameters
1837     '("gchar*" "data")
1838     '("gsize" "data_size")
1839   )
1840 )
1841
1842 (define-function pixbuf_from_data_and_mime
1843   (c-name "empathy_pixbuf_from_data_and_mime")
1844   (return-type "GdkPixbuf*")
1845   (parameters
1846     '("gchar*" "data")
1847     '("gsize" "data_size")
1848     '("gchar**" "mime_type")
1849   )
1850 )
1851
1852 (define-function pixbuf_from_avatar_scaled
1853   (c-name "empathy_pixbuf_from_avatar_scaled")
1854   (return-type "GdkPixbuf*")
1855   (parameters
1856     '("EmpathyAvatar*" "avatar")
1857     '("gint" "width")
1858     '("gint" "height")
1859   )
1860 )
1861
1862 (define-function pixbuf_avatar_from_contact_scaled
1863   (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1864   (return-type "GdkPixbuf*")
1865   (parameters
1866     '("EmpathyContact*" "contact")
1867     '("gint" "width")
1868     '("gint" "height")
1869   )
1870 )
1871
1872 (define-function pixbuf_scale_down_if_necessary
1873   (c-name "empathy_pixbuf_scale_down_if_necessary")
1874   (return-type "GdkPixbuf*")
1875   (parameters
1876     '("GdkPixbuf*" "pixbuf")
1877     '("gint" "max_size")
1878   )
1879 )
1880
1881 (define-function pixbuf_from_icon_name
1882   (c-name "empathy_pixbuf_from_icon_name")
1883   (return-type "GdkPixbuf*")
1884   (parameters
1885     '("const-gchar*" "icon_name")
1886     '("GtkIconSize" "icon_size")
1887   )
1888 )
1889
1890 (define-function pixbuf_from_icon_name_sized
1891   (c-name "empathy_pixbuf_from_icon_name_sized")
1892   (return-type "GdkPixbuf*")
1893   (parameters
1894     '("const-gchar*" "icon_name")
1895     '("gint" "size")
1896   )
1897 )
1898
1899 (define-function text_iter_forward_search
1900   (c-name "empathy_text_iter_forward_search")
1901   (return-type "gboolean")
1902   (parameters
1903     '("const-GtkTextIter*" "iter")
1904     '("const-gchar*" "str")
1905     '("GtkTextIter*" "match_start")
1906     '("GtkTextIter*" "match_end")
1907     '("const-GtkTextIter*" "limit")
1908   )
1909 )
1910
1911 (define-function text_iter_backward_search
1912   (c-name "empathy_text_iter_backward_search")
1913   (return-type "gboolean")
1914   (parameters
1915     '("const-GtkTextIter*" "iter")
1916     '("const-gchar*" "str")
1917     '("GtkTextIter*" "match_start")
1918     '("GtkTextIter*" "match_end")
1919     '("const-GtkTextIter*" "limit")
1920   )
1921 )
1922
1923 (define-function window_get_is_visible
1924   (c-name "empathy_window_get_is_visible")
1925   (return-type "gboolean")
1926   (parameters
1927     '("GtkWindow*" "window")
1928   )
1929 )
1930
1931 (define-function window_present
1932   (c-name "empathy_window_present")
1933   (return-type "none")
1934   (parameters
1935     '("GtkWindow*" "window")
1936     '("gboolean" "steal_focus")
1937   )
1938 )
1939
1940 (define-function window_iconify
1941   (c-name "empathy_window_iconify")
1942   (return-type "none")
1943   (parameters
1944     '("GtkWindow*" "window")
1945     '("GtkStatusIcon*" "status_icon")
1946   )
1947 )
1948
1949 (define-function get_toplevel_window
1950   (c-name "empathy_get_toplevel_window")
1951   (return-type "GtkWindow*")
1952   (parameters
1953     '("GtkWidget*" "widget")
1954   )
1955 )
1956
1957 (define-function url_show
1958   (c-name "empathy_url_show")
1959   (return-type "none")
1960   (parameters
1961     '("GtkWidget*" "parent")
1962     '("const-char*" "url")
1963   )
1964 )
1965
1966 (define-function toggle_button_set_state_quietly
1967   (c-name "empathy_toggle_button_set_state_quietly")
1968   (return-type "none")
1969   (parameters
1970     '("GtkWidget*" "widget")
1971     '("GCallback" "callback")
1972     '("gpointer" "user_data")
1973     '("gboolean" "active")
1974   )
1975 )
1976
1977 (define-function link_button_new
1978   (c-name "empathy_link_button_new")
1979   (is-constructor-of "EmpathyLinkButton")
1980   (return-type "GtkWidget*")
1981   (parameters
1982     '("const-gchar*" "url")
1983     '("const-gchar*" "title")
1984   )
1985 )
1986
1987 (define-function send_file_with_file_chooser
1988   (c-name "empathy_send_file_with_file_chooser")
1989   (return-type "none")
1990   (parameters
1991     '("EmpathyContact*" "contact")
1992   )
1993 )
1994
1995 (define-function sound_play
1996   (c-name "empathy_sound_play")
1997   (return-type "none")
1998   (parameters
1999     '("GtkWidget*" "widget")
2000     '("EmpathySound" "sound_id")
2001   )
2002 )
2003
2004 (define-function sound_play_full
2005   (c-name "empathy_sound_play_full")
2006   (return-type "gboolean")
2007   (parameters
2008     '("GtkWidget*" "widget")
2009     '("EmpathySound" "sound_id")
2010     '("ca_finish_callback_t" "callback")
2011     '("gpointer" "user_data")
2012   )
2013 )
2014
2015 (define-method stop
2016   (of-object "EmpathySound")
2017   (c-name "empathy_sound_stop")
2018   (return-type "none")
2019 )
2020
2021