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