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