]> git.0d.be Git - empathy.git/blob - python/pyempathygtk/pyempathygtk.defs
Do not take show_groups in empathy_contact_list_store_new
[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 "GObject")
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 ChatWindow
60   (in-module "Empathy")
61   (parent "GObject")
62   (c-name "EmpathyChatWindow")
63   (gtype-id "EMPATHY_TYPE_CHAT_WINDOW")
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 GroupChat
81   (in-module "Empathy")
82   (parent "EmpathyChat")
83   (c-name "EmpathyGroupChat")
84   (gtype-id "EMPATHY_TYPE_GROUP_CHAT")
85 )
86
87 (define-object PresenceChooser
88   (in-module "Empathy")
89   (parent "GtkToggleButton")
90   (c-name "EmpathyPresenceChooser")
91   (gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
92 )
93
94 (define-object PrivateChat
95   (in-module "Empathy")
96   (parent "EmpathyChat")
97   (c-name "EmpathyPrivateChat")
98   (gtype-id "EMPATHY_TYPE_PRIVATE_CHAT")
99 )
100
101 (define-object SmileyManager
102   (in-module "Empathy")
103   (parent "GObject")
104   (c-name "EmpathySmileyManager")
105   (gtype-id "EMPATHY_TYPE_SMILEY_MANAGER")
106 )
107
108 (define-object StatusIcon
109   (in-module "Empathy")
110   (parent "GObject")
111   (c-name "EmpathyStatusIcon")
112   (gtype-id "EMPATHY_TYPE_STATUS_ICON")
113 )
114
115 (define-object Theme
116   (in-module "Empathy")
117   (parent "GObject")
118   (c-name "EmpathyTheme")
119   (gtype-id "EMPATHY_TYPE_THEME")
120 )
121
122 (define-object ThemeBoxes
123   (in-module "Empathy")
124   (parent "EmpathyTheme")
125   (c-name "EmpathyThemeBoxes")
126   (gtype-id "EMPATHY_TYPE_THEME_BOXES")
127 )
128
129 (define-object ThemeIrc
130   (in-module "Empathy")
131   (parent "EmpathyTheme")
132   (c-name "EmpathyThemeIrc")
133   (gtype-id "EMPATHY_TYPE_THEME_IRC")
134 )
135
136 (define-object ThemeManager
137   (in-module "Empathy")
138   (parent "GObject")
139   (c-name "EmpathyThemeManager")
140   (gtype-id "EMPATHY_TYPE_THEME_MANAGER")
141 )
142
143 (define-object Spinner
144   (in-module "Ephy")
145   (parent "GtkWidget")
146   (c-name "EphySpinner")
147   (gtype-id "EPHY_TYPE_SPINNER")
148 )
149
150 ;; Enumerations and flags ...
151
152 (define-enum ChatViewBlock
153   (in-module "Empathy")
154   (c-name "EmpathyChatViewBlock")
155   (gtype-id "EMPATHY_TYPE_CHAT_VIEW_BLOCK")
156   (values
157     '("none" "EMPATHY_CHAT_VIEW_BLOCK_NONE")
158     '("self" "EMPATHY_CHAT_VIEW_BLOCK_SELF")
159     '("other" "EMPATHY_CHAT_VIEW_BLOCK_OTHER")
160     '("event" "EMPATHY_CHAT_VIEW_BLOCK_EVENT")
161     '("time" "EMPATHY_CHAT_VIEW_BLOCK_TIME")
162     '("invite" "EMPATHY_CHAT_VIEW_BLOCK_INVITE")
163   )
164 )
165
166 (define-enum ContactListStoreSort
167   (in-module "Empathy")
168   (c-name "EmpathyContactListStoreSort")
169   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_SORT")
170   (values
171     '("state" "EMPATHY_CONTACT_LIST_STORE_SORT_STATE")
172     '("name" "EMPATHY_CONTACT_LIST_STORE_SORT_NAME")
173   )
174 )
175
176 (define-enum ContactListStoreCol
177   (in-module "Empathy")
178   (c-name "EmpathyContactListStoreCol")
179   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_STORE_COL")
180   (values
181     '("icon-status" "EMPATHY_CONTACT_LIST_STORE_COL_ICON_STATUS")
182     '("pixbuf-avatar" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR")
183     '("pixbuf-avatar-visible" "EMPATHY_CONTACT_LIST_STORE_COL_PIXBUF_AVATAR_VISIBLE")
184     '("name" "EMPATHY_CONTACT_LIST_STORE_COL_NAME")
185     '("status" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS")
186     '("status-visible" "EMPATHY_CONTACT_LIST_STORE_COL_STATUS_VISIBLE")
187     '("contact" "EMPATHY_CONTACT_LIST_STORE_COL_CONTACT")
188     '("is-group" "EMPATHY_CONTACT_LIST_STORE_COL_IS_GROUP")
189     '("is-active" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ACTIVE")
190     '("is-online" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ONLINE")
191     '("is-separator" "EMPATHY_CONTACT_LIST_STORE_COL_IS_SEPARATOR")
192     '("can-voip" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_VOIP")
193     '("count" "EMPATHY_CONTACT_LIST_STORE_COL_COUNT")
194   )
195 )
196
197 (define-flags ContactListFeatures
198   (in-module "Empathy")
199   (c-name "EmpathyContactListFeatures")
200   (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FEATURES")
201   (values
202     '("none" "EMPATHY_CONTACT_LIST_FEATURE_NONE")
203     '("groups-save" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_SAVE")
204     '("groups-rename" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_RENAME")
205     '("groups-remove" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_REMOVE")
206     '("contact-chat" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CHAT")
207     '("contact-call" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CALL")
208     '("contact-log" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_LOG")
209     '("contact-ft" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_FT")
210     '("contact-invite" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INVITE")
211     '("contact-edit" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_EDIT")
212     '("contact-info" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INFO")
213     '("contact-remove" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE")
214     '("contact-drop" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DROP")
215     '("contact-drag" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DRAG")
216     '("all" "EMPATHY_CONTACT_LIST_FEATURE_ALL")
217   )
218 )
219
220 (define-flags ContactWidgetFlags
221   (in-module "Empathy")
222   (c-name "EmpathyContactWidgetFlags")
223   (gtype-id "EMPATHY_TYPE_CONTACT_WIDGET_FLAGS")
224   (values
225     '("none" "EMPATHY_CONTACT_WIDGET_EDIT_NONE")
226     '("alias" "EMPATHY_CONTACT_WIDGET_EDIT_ALIAS")
227     '("avatar" "EMPATHY_CONTACT_WIDGET_EDIT_AVATAR")
228     '("account" "EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT")
229     '("id" "EMPATHY_CONTACT_WIDGET_EDIT_ID")
230     '("groups" "EMPATHY_CONTACT_WIDGET_EDIT_GROUPS")
231   )
232 )
233
234
235 ;; From empathy-about-dialog.h
236
237 (define-function empathy_about_dialog_new
238   (c-name "empathy_about_dialog_new")
239   (return-type "none")
240   (parameters
241     '("GtkWindow*" "parent")
242   )
243 )
244
245
246
247 ;; From empathy-account-chooser.h
248
249 (define-function empathy_account_chooser_get_type
250   (c-name "empathy_account_chooser_get_type")
251   (return-type "GType")
252 )
253
254 (define-function empathy_account_chooser_new
255   (c-name "empathy_account_chooser_new")
256   (is-constructor-of "EmpathyAccountChooser")
257   (return-type "GtkWidget*")
258 )
259
260 (define-method get_account
261   (of-object "EmpathyAccountChooser")
262   (c-name "empathy_account_chooser_get_account")
263   (return-type "McAccount*")
264 )
265
266 (define-method set_account
267   (of-object "EmpathyAccountChooser")
268   (c-name "empathy_account_chooser_set_account")
269   (return-type "gboolean")
270   (parameters
271     '("McAccount*" "account")
272   )
273 )
274
275 (define-method get_has_all_option
276   (of-object "EmpathyAccountChooser")
277   (c-name "empathy_account_chooser_get_has_all_option")
278   (return-type "gboolean")
279 )
280
281 (define-method set_has_all_option
282   (of-object "EmpathyAccountChooser")
283   (c-name "empathy_account_chooser_set_has_all_option")
284   (return-type "none")
285   (parameters
286     '("gboolean" "has_all_option")
287   )
288 )
289
290 (define-method set_filter
291   (of-object "EmpathyAccountChooser")
292   (c-name "empathy_account_chooser_set_filter")
293   (return-type "none")
294   (parameters
295     '("EmpathyAccountChooserFilterFunc" "filter")
296     '("gpointer" "user_data")
297   )
298 )
299
300 (define-function empathy_account_chooser_filter_is_connected
301   (c-name "empathy_account_chooser_filter_is_connected")
302   (return-type "gboolean")
303   (parameters
304     '("McAccount*" "account")
305     '("gpointer" "user_data")
306   )
307 )
308
309
310
311 ;; From empathy-accounts-dialog.h
312
313 (define-function empathy_accounts_dialog_show
314   (c-name "empathy_accounts_dialog_show")
315   (return-type "GtkWidget*")
316   (parameters
317     '("GtkWindow*" "parent")
318   )
319 )
320
321
322
323 ;; From empathy-account-widget-generic.h
324
325 (define-function empathy_account_widget_generic_new
326   (c-name "empathy_account_widget_generic_new")
327   (is-constructor-of "EmpathyAccountWidgetGeneric")
328   (return-type "GtkWidget*")
329   (parameters
330     '("McAccount*" "account")
331   )
332 )
333
334
335
336 ;; From empathy-account-widget-jabber.h
337
338 (define-function empathy_account_widget_jabber_new
339   (c-name "empathy_account_widget_jabber_new")
340   (is-constructor-of "EmpathyAccountWidgetJabber")
341   (return-type "GtkWidget*")
342   (parameters
343     '("McAccount*" "account")
344   )
345 )
346
347
348
349 ;; From empathy-account-widget-msn.h
350
351 (define-function empathy_account_widget_msn_new
352   (c-name "empathy_account_widget_msn_new")
353   (is-constructor-of "EmpathyAccountWidgetMsn")
354   (return-type "GtkWidget*")
355   (parameters
356     '("McAccount*" "account")
357   )
358 )
359
360
361
362 ;; From empathy-account-widget-salut.h
363
364 (define-function empathy_account_widget_salut_new
365   (c-name "empathy_account_widget_salut_new")
366   (is-constructor-of "EmpathyAccountWidgetSalut")
367   (return-type "GtkWidget*")
368   (parameters
369     '("McAccount*" "account")
370   )
371 )
372
373
374
375 ;; From empathy-avatar-chooser.h
376
377 (define-function empathy_avatar_chooser_get_type
378   (c-name "empathy_avatar_chooser_get_type")
379   (return-type "GType")
380 )
381
382 (define-function empathy_avatar_chooser_new
383   (c-name "empathy_avatar_chooser_new")
384   (is-constructor-of "EmpathyAvatarChooser")
385   (return-type "GtkWidget*")
386 )
387
388 (define-method set
389   (of-object "EmpathyAvatarChooser")
390   (c-name "empathy_avatar_chooser_set")
391   (return-type "none")
392   (parameters
393     '("EmpathyAvatar*" "avatar")
394   )
395 )
396
397 (define-method get_image_data
398   (of-object "EmpathyAvatarChooser")
399   (c-name "empathy_avatar_chooser_get_image_data")
400   (return-type "none")
401   (parameters
402     '("const-gchar**" "data")
403     '("gsize*" "data_size")
404     '("const-gchar**" "mime_type")
405   )
406 )
407
408
409
410 ;; From empathy-avatar-image.h
411
412 (define-function empathy_avatar_image_get_type
413   (c-name "empathy_avatar_image_get_type")
414   (return-type "GType")
415 )
416
417 (define-function empathy_avatar_image_new
418   (c-name "empathy_avatar_image_new")
419   (is-constructor-of "EmpathyAvatarImage")
420   (return-type "GtkWidget*")
421 )
422
423 (define-method set
424   (of-object "EmpathyAvatarImage")
425   (c-name "empathy_avatar_image_set")
426   (return-type "none")
427   (parameters
428     '("EmpathyAvatar*" "avatar")
429   )
430 )
431
432
433
434 ;; From empathy-call-window.h
435
436 (define-function empathy_call_window_show
437   (c-name "empathy_call_window_show")
438   (return-type "GtkWidget*")
439   (parameters
440     '("EmpathyTpCall*" "call")
441   )
442 )
443
444
445
446 ;; From empathy-cell-renderer-activatable.h
447
448 (define-function empathy_cell_renderer_activatable_get_type
449   (c-name "empathy_cell_renderer_activatable_get_type")
450   (return-type "GType")
451 )
452
453 (define-function empathy_cell_renderer_activatable_new
454   (c-name "empathy_cell_renderer_activatable_new")
455   (is-constructor-of "EmpathyCellRendererActivatable")
456   (return-type "GtkCellRenderer*")
457 )
458
459
460
461 ;; From empathy-cell-renderer-expander.h
462
463 (define-function empathy_cell_renderer_expander_get_type
464   (c-name "empathy_cell_renderer_expander_get_type")
465   (return-type "GType")
466 )
467
468 (define-function empathy_cell_renderer_expander_new
469   (c-name "empathy_cell_renderer_expander_new")
470   (is-constructor-of "EmpathyCellRendererExpander")
471   (return-type "GtkCellRenderer*")
472 )
473
474
475
476 ;; From empathy-cell-renderer-text.h
477
478 (define-function empathy_cell_renderer_text_get_type
479   (c-name "empathy_cell_renderer_text_get_type")
480   (return-type "GType")
481 )
482
483 (define-function empathy_cell_renderer_text_new
484   (c-name "empathy_cell_renderer_text_new")
485   (is-constructor-of "EmpathyCellRendererText")
486   (return-type "GtkCellRenderer*")
487 )
488
489
490
491 ;; From empathy-chat.h
492
493 (define-function empathy_chat_get_type
494   (c-name "empathy_chat_get_type")
495   (return-type "GType")
496 )
497
498 (define-method get_view
499   (of-object "EmpathyChat")
500   (c-name "empathy_chat_get_view")
501   (return-type "EmpathyChatView*")
502 )
503
504 (define-method get_window
505   (of-object "EmpathyChat")
506   (c-name "empathy_chat_get_window")
507   (return-type "EmpathyChatWindow*")
508 )
509
510 (define-method set_window
511   (of-object "EmpathyChat")
512   (c-name "empathy_chat_set_window")
513   (return-type "none")
514   (parameters
515     '("EmpathyChatWindow*" "window")
516   )
517 )
518
519 (define-method present
520   (of-object "EmpathyChat")
521   (c-name "empathy_chat_present")
522   (return-type "none")
523 )
524
525 (define-method clear
526   (of-object "EmpathyChat")
527   (c-name "empathy_chat_clear")
528   (return-type "none")
529 )
530
531 (define-method scroll_down
532   (of-object "EmpathyChat")
533   (c-name "empathy_chat_scroll_down")
534   (return-type "none")
535 )
536
537 (define-method cut
538   (of-object "EmpathyChat")
539   (c-name "empathy_chat_cut")
540   (return-type "none")
541 )
542
543 (define-method copy
544   (of-object "EmpathyChat")
545   (c-name "empathy_chat_copy")
546   (return-type "none")
547 )
548
549 (define-method paste
550   (of-object "EmpathyChat")
551   (c-name "empathy_chat_paste")
552   (return-type "none")
553 )
554
555 (define-method get_name
556   (of-object "EmpathyChat")
557   (c-name "empathy_chat_get_name")
558   (return-type "const-gchar*")
559 )
560
561 (define-method get_tooltip
562   (of-object "EmpathyChat")
563   (c-name "empathy_chat_get_tooltip")
564   (return-type "gchar*")
565 )
566
567 (define-method get_status_icon_name
568   (of-object "EmpathyChat")
569   (c-name "empathy_chat_get_status_icon_name")
570   (return-type "const-gchar*")
571 )
572
573 (define-method get_widget
574   (of-object "EmpathyChat")
575   (c-name "empathy_chat_get_widget")
576   (return-type "GtkWidget*")
577 )
578
579 (define-method is_group_chat
580   (of-object "EmpathyChat")
581   (c-name "empathy_chat_is_group_chat")
582   (return-type "gboolean")
583 )
584
585 (define-method is_connected
586   (of-object "EmpathyChat")
587   (c-name "empathy_chat_is_connected")
588   (return-type "gboolean")
589 )
590
591 (define-method save_geometry
592   (of-object "EmpathyChat")
593   (c-name "empathy_chat_save_geometry")
594   (return-type "none")
595   (parameters
596     '("gint" "x")
597     '("gint" "y")
598     '("gint" "w")
599     '("gint" "h")
600   )
601 )
602
603 (define-method load_geometry
604   (of-object "EmpathyChat")
605   (c-name "empathy_chat_load_geometry")
606   (return-type "none")
607   (parameters
608     '("gint*" "x")
609     '("gint*" "y")
610     '("gint*" "w")
611     '("gint*" "h")
612   )
613 )
614
615 (define-method set_tp_chat
616   (of-object "EmpathyChat")
617   (c-name "empathy_chat_set_tp_chat")
618   (return-type "none")
619   (parameters
620     '("EmpathyTpChat*" "tp_chat")
621   )
622 )
623
624 (define-method get_id
625   (of-object "EmpathyChat")
626   (c-name "empathy_chat_get_id")
627   (return-type "const-gchar*")
628 )
629
630 (define-method get_account
631   (of-object "EmpathyChat")
632   (c-name "empathy_chat_get_account")
633   (return-type "McAccount*")
634 )
635
636 (define-function empathy_chat_get_is_command
637   (c-name "empathy_chat_get_is_command")
638   (return-type "gboolean")
639   (parameters
640     '("const-gchar*" "str")
641   )
642 )
643
644 (define-method correct_word
645   (of-object "EmpathyChat")
646   (c-name "empathy_chat_correct_word")
647   (return-type "none")
648   (parameters
649     '("GtkTextIter" "start")
650     '("GtkTextIter" "end")
651     '("const-gchar*" "new_word")
652   )
653 )
654
655 (define-method should_play_sound
656   (of-object "EmpathyChat")
657   (c-name "empathy_chat_should_play_sound")
658   (return-type "gboolean")
659 )
660
661 (define-function empathy_chat_should_highlight_nick
662   (c-name "empathy_chat_should_highlight_nick")
663   (return-type "gboolean")
664   (parameters
665     '("EmpathyMessage*" "message")
666   )
667 )
668
669
670
671 ;; From empathy-chatrooms-window.h
672
673 (define-function empathy_chatrooms_window_show
674   (c-name "empathy_chatrooms_window_show")
675   (return-type "none")
676   (parameters
677     '("GtkWindow*" "parent")
678   )
679 )
680
681
682
683 ;; From empathy-chat-view.h
684
685 (define-function empathy_chat_view_get_type
686   (c-name "empathy_chat_view_get_type")
687   (return-type "GType")
688 )
689
690 (define-function empathy_chat_view_new
691   (c-name "empathy_chat_view_new")
692   (is-constructor-of "EmpathyChatView")
693   (return-type "EmpathyChatView*")
694 )
695
696 (define-method append_message
697   (of-object "EmpathyChatView")
698   (c-name "empathy_chat_view_append_message")
699   (return-type "none")
700   (parameters
701     '("EmpathyMessage*" "msg")
702   )
703 )
704
705 (define-method append_event
706   (of-object "EmpathyChatView")
707   (c-name "empathy_chat_view_append_event")
708   (return-type "none")
709   (parameters
710     '("const-gchar*" "str")
711   )
712 )
713
714 (define-method append_button
715   (of-object "EmpathyChatView")
716   (c-name "empathy_chat_view_append_button")
717   (return-type "none")
718   (parameters
719     '("const-gchar*" "message")
720     '("GtkWidget*" "button1")
721     '("GtkWidget*" "button2")
722   )
723 )
724
725 (define-method set_margin
726   (of-object "EmpathyChatView")
727   (c-name "empathy_chat_view_set_margin")
728   (return-type "none")
729   (parameters
730     '("gint" "margin")
731   )
732 )
733
734 (define-method scroll
735   (of-object "EmpathyChatView")
736   (c-name "empathy_chat_view_scroll")
737   (return-type "none")
738   (parameters
739     '("gboolean" "allow_scrolling")
740   )
741 )
742
743 (define-method scroll_down
744   (of-object "EmpathyChatView")
745   (c-name "empathy_chat_view_scroll_down")
746   (return-type "none")
747 )
748
749 (define-method get_selection_bounds
750   (of-object "EmpathyChatView")
751   (c-name "empathy_chat_view_get_selection_bounds")
752   (return-type "gboolean")
753   (parameters
754     '("GtkTextIter*" "start")
755     '("GtkTextIter*" "end")
756   )
757 )
758
759 (define-method clear
760   (of-object "EmpathyChatView")
761   (c-name "empathy_chat_view_clear")
762   (return-type "none")
763 )
764
765 (define-method find_previous
766   (of-object "EmpathyChatView")
767   (c-name "empathy_chat_view_find_previous")
768   (return-type "gboolean")
769   (parameters
770     '("const-gchar*" "search_criteria")
771     '("gboolean" "new_search")
772   )
773 )
774
775 (define-method find_next
776   (of-object "EmpathyChatView")
777   (c-name "empathy_chat_view_find_next")
778   (return-type "gboolean")
779   (parameters
780     '("const-gchar*" "search_criteria")
781     '("gboolean" "new_search")
782   )
783 )
784
785 (define-method find_abilities
786   (of-object "EmpathyChatView")
787   (c-name "empathy_chat_view_find_abilities")
788   (return-type "none")
789   (parameters
790     '("const-gchar*" "search_criteria")
791     '("gboolean*" "can_do_previous")
792     '("gboolean*" "can_do_next")
793   )
794 )
795
796 (define-method highlight
797   (of-object "EmpathyChatView")
798   (c-name "empathy_chat_view_highlight")
799   (return-type "none")
800   (parameters
801     '("const-gchar*" "text")
802   )
803 )
804
805 (define-method copy_clipboard
806   (of-object "EmpathyChatView")
807   (c-name "empathy_chat_view_copy_clipboard")
808   (return-type "none")
809 )
810
811 (define-method get_theme
812   (of-object "EmpathyChatView")
813   (c-name "empathy_chat_view_get_theme")
814   (return-type "EmpathyTheme*")
815 )
816
817 (define-method set_theme
818   (of-object "EmpathyChatView")
819   (c-name "empathy_chat_view_set_theme")
820   (return-type "none")
821   (parameters
822     '("EmpathyTheme*" "theme")
823   )
824 )
825
826 (define-method set_margin
827   (of-object "EmpathyChatView")
828   (c-name "empathy_chat_view_set_margin")
829   (return-type "none")
830   (parameters
831     '("gint" "margin")
832   )
833 )
834
835 (define-function empathy_chat_view_get_smiley_menu
836   (c-name "empathy_chat_view_get_smiley_menu")
837   (return-type "GtkWidget*")
838   (parameters
839     '("GCallback" "callback")
840     '("gpointer" "user_data")
841   )
842 )
843
844 (define-method set_is_group_chat
845   (of-object "EmpathyChatView")
846   (c-name "empathy_chat_view_set_is_group_chat")
847   (return-type "none")
848   (parameters
849     '("gboolean" "is_group_chat")
850   )
851 )
852
853 (define-method get_last_timestamp
854   (of-object "EmpathyChatView")
855   (c-name "empathy_chat_view_get_last_timestamp")
856   (return-type "time_t")
857 )
858
859 (define-method set_last_timestamp
860   (of-object "EmpathyChatView")
861   (c-name "empathy_chat_view_set_last_timestamp")
862   (return-type "none")
863   (parameters
864     '("time_t" "timestamp")
865   )
866 )
867
868 (define-method get_last_block_type
869   (of-object "EmpathyChatView")
870   (c-name "empathy_chat_view_get_last_block_type")
871   (return-type "EmpathyChatViewBlock")
872 )
873
874 (define-method set_last_block_type
875   (of-object "EmpathyChatView")
876   (c-name "empathy_chat_view_set_last_block_type")
877   (return-type "none")
878   (parameters
879     '("EmpathyChatViewBlock" "block_type")
880   )
881 )
882
883 (define-method get_last_contact
884   (of-object "EmpathyChatView")
885   (c-name "empathy_chat_view_get_last_contact")
886   (return-type "EmpathyContact*")
887 )
888
889 (define-method set_last_contact
890   (of-object "EmpathyChatView")
891   (c-name "empathy_chat_view_set_last_contact")
892   (return-type "none")
893   (parameters
894     '("EmpathyContact*" "contact")
895   )
896 )
897
898 (define-function empathy_chat_view_get_avatar_pixbuf_with_cache
899   (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
900   (return-type "GdkPixbuf*")
901   (parameters
902     '("EmpathyContact*" "contact")
903   )
904 )
905
906
907
908 ;; From empathy-chat-window.h
909
910 (define-function empathy_chat_window_get_type
911   (c-name "empathy_chat_window_get_type")
912   (return-type "GType")
913 )
914
915 (define-function empathy_chat_window_get_default
916   (c-name "empathy_chat_window_get_default")
917   (return-type "EmpathyChatWindow*")
918 )
919
920 (define-function empathy_chat_window_new
921   (c-name "empathy_chat_window_new")
922   (is-constructor-of "EmpathyChatWindow")
923   (return-type "EmpathyChatWindow*")
924 )
925
926 (define-method get_dialog
927   (of-object "EmpathyChatWindow")
928   (c-name "empathy_chat_window_get_dialog")
929   (return-type "GtkWidget*")
930 )
931
932 (define-method add_chat
933   (of-object "EmpathyChatWindow")
934   (c-name "empathy_chat_window_add_chat")
935   (return-type "none")
936   (parameters
937     '("EmpathyChat*" "chat")
938   )
939 )
940
941 (define-method remove_chat
942   (of-object "EmpathyChatWindow")
943   (c-name "empathy_chat_window_remove_chat")
944   (return-type "none")
945   (parameters
946     '("EmpathyChat*" "chat")
947   )
948 )
949
950 (define-method move_chat
951   (of-object "EmpathyChatWindow")
952   (c-name "empathy_chat_window_move_chat")
953   (return-type "none")
954   (parameters
955     '("EmpathyChatWindow*" "new_window")
956     '("EmpathyChat*" "chat")
957   )
958 )
959
960 (define-method switch_to_chat
961   (of-object "EmpathyChatWindow")
962   (c-name "empathy_chat_window_switch_to_chat")
963   (return-type "none")
964   (parameters
965     '("EmpathyChat*" "chat")
966   )
967 )
968
969 (define-method has_focus
970   (of-object "EmpathyChatWindow")
971   (c-name "empathy_chat_window_has_focus")
972   (return-type "gboolean")
973 )
974
975 (define-function empathy_chat_window_find_chat
976   (c-name "empathy_chat_window_find_chat")
977   (return-type "EmpathyChat*")
978   (parameters
979     '("McAccount*" "account")
980     '("const-gchar*" "id")
981   )
982 )
983
984
985
986 ;; From empathy-contact-dialogs.h
987
988 (define-function empathy_subscription_dialog_show
989   (c-name "empathy_subscription_dialog_show")
990   (return-type "none")
991   (parameters
992     '("EmpathyContact*" "contact")
993     '("GtkWindow*" "parent")
994   )
995 )
996
997 (define-method information_dialog_show
998   (of-object "EmpathyContact")
999   (c-name "empathy_contact_information_dialog_show")
1000   (return-type "none")
1001   (parameters
1002     '("GtkWindow*" "parent")
1003     '("gboolean" "edit")
1004     '("gboolean" "is_user")
1005   )
1006 )
1007
1008 (define-function empathy_new_contact_dialog_show
1009   (c-name "empathy_new_contact_dialog_show")
1010   (return-type "none")
1011   (parameters
1012     '("GtkWindow*" "parent")
1013   )
1014 )
1015
1016
1017
1018 ;; From empathy-contact-groups.h
1019
1020 (define-function empathy_contact_groups_get_all
1021   (c-name "empathy_contact_groups_get_all")
1022   (return-type "none")
1023 )
1024
1025 (define-function empathy_contact_group_get_expanded
1026   (c-name "empathy_contact_group_get_expanded")
1027   (return-type "gboolean")
1028   (parameters
1029     '("const-gchar*" "group")
1030   )
1031 )
1032
1033 (define-function empathy_contact_group_set_expanded
1034   (c-name "empathy_contact_group_set_expanded")
1035   (return-type "none")
1036   (parameters
1037     '("const-gchar*" "group")
1038     '("gboolean" "expanded")
1039   )
1040 )
1041
1042
1043
1044 ;; From empathy-contact-list-store.h
1045
1046 (define-function empathy_contact_list_store_get_type
1047   (c-name "empathy_contact_list_store_get_type")
1048   (return-type "GType")
1049 )
1050
1051 (define-method store_new
1052   (of-object "EmpathyContactList")
1053   (c-name "empathy_contact_list_store_new")
1054   (return-type "EmpathyContactListStore*")
1055 )
1056
1057 (define-method get_list_iface
1058   (of-object "EmpathyContactListStore")
1059   (c-name "empathy_contact_list_store_get_list_iface")
1060   (return-type "EmpathyContactList*")
1061 )
1062
1063 (define-method get_show_offline
1064   (of-object "EmpathyContactListStore")
1065   (c-name "empathy_contact_list_store_get_show_offline")
1066   (return-type "gboolean")
1067 )
1068
1069 (define-method set_show_offline
1070   (of-object "EmpathyContactListStore")
1071   (c-name "empathy_contact_list_store_set_show_offline")
1072   (return-type "none")
1073   (parameters
1074     '("gboolean" "show_offline")
1075   )
1076 )
1077
1078 (define-method get_show_avatars
1079   (of-object "EmpathyContactListStore")
1080   (c-name "empathy_contact_list_store_get_show_avatars")
1081   (return-type "gboolean")
1082 )
1083
1084 (define-method set_show_avatars
1085   (of-object "EmpathyContactListStore")
1086   (c-name "empathy_contact_list_store_set_show_avatars")
1087   (return-type "none")
1088   (parameters
1089     '("gboolean" "show_avatars")
1090   )
1091 )
1092
1093 (define-method get_show_groups
1094   (of-object "EmpathyContactListStore")
1095   (c-name "empathy_contact_list_store_get_show_groups")
1096   (return-type "gboolean")
1097 )
1098
1099 (define-method set_show_groups
1100   (of-object "EmpathyContactListStore")
1101   (c-name "empathy_contact_list_store_set_show_groups")
1102   (return-type "none")
1103   (parameters
1104     '("gboolean" "show_groups")
1105   )
1106 )
1107
1108 (define-method get_is_compact
1109   (of-object "EmpathyContactListStore")
1110   (c-name "empathy_contact_list_store_get_is_compact")
1111   (return-type "gboolean")
1112 )
1113
1114 (define-method set_is_compact
1115   (of-object "EmpathyContactListStore")
1116   (c-name "empathy_contact_list_store_set_is_compact")
1117   (return-type "none")
1118   (parameters
1119     '("gboolean" "is_compact")
1120   )
1121 )
1122
1123 (define-method get_sort_criterium
1124   (of-object "EmpathyContactListStore")
1125   (c-name "empathy_contact_list_store_get_sort_criterium")
1126   (return-type "EmpathyContactListStoreSort")
1127 )
1128
1129 (define-method set_sort_criterium
1130   (of-object "EmpathyContactListStore")
1131   (c-name "empathy_contact_list_store_set_sort_criterium")
1132   (return-type "none")
1133   (parameters
1134     '("EmpathyContactListStoreSort" "sort_criterium")
1135   )
1136 )
1137
1138 (define-function empathy_contact_list_store_row_separator_func
1139   (c-name "empathy_contact_list_store_row_separator_func")
1140   (return-type "gboolean")
1141   (parameters
1142     '("GtkTreeModel*" "model")
1143     '("GtkTreeIter*" "iter")
1144     '("gpointer" "data")
1145   )
1146 )
1147
1148 (define-function empathy_contact_list_store_get_parent_group
1149   (c-name "empathy_contact_list_store_get_parent_group")
1150   (return-type "gchar*")
1151   (parameters
1152     '("GtkTreeModel*" "model")
1153     '("GtkTreePath*" "path")
1154     '("gboolean*" "path_is_group")
1155   )
1156 )
1157
1158 (define-function empathy_contact_list_store_search_equal_func
1159   (c-name "empathy_contact_list_store_search_equal_func")
1160   (return-type "gboolean")
1161   (parameters
1162     '("GtkTreeModel*" "model")
1163     '("gint" "column")
1164     '("const-gchar*" "key")
1165     '("GtkTreeIter*" "iter")
1166     '("gpointer" "search_data")
1167   )
1168 )
1169
1170
1171
1172 ;; From empathy-contact-list-view.h
1173
1174 (define-function empathy_contact_list_view_get_type
1175   (c-name "empathy_contact_list_view_get_type")
1176   (return-type "GType")
1177 )
1178
1179 (define-function empathy_contact_list_view_new
1180   (c-name "empathy_contact_list_view_new")
1181   (is-constructor-of "EmpathyContactListView")
1182   (return-type "EmpathyContactListView*")
1183   (parameters
1184     '("EmpathyContactListStore*" "store")
1185     '("EmpathyContactListFeatures" "features")
1186   )
1187 )
1188
1189 (define-method set_features
1190   (of-object "EmpathyContactListView")
1191   (c-name "empathy_contact_list_view_set_features")
1192   (return-type "none")
1193   (parameters
1194     '("EmpathyContactListFeatures" "features")
1195   )
1196 )
1197
1198 (define-method get_features
1199   (of-object "EmpathyContactListView")
1200   (c-name "empathy_contact_list_view_get_features")
1201   (return-type "EmpathyContactListFeatures")
1202 )
1203
1204 (define-method get_selected
1205   (of-object "EmpathyContactListView")
1206   (c-name "empathy_contact_list_view_get_selected")
1207   (return-type "EmpathyContact*")
1208 )
1209
1210 (define-method get_selected_group
1211   (of-object "EmpathyContactListView")
1212   (c-name "empathy_contact_list_view_get_selected_group")
1213   (return-type "gchar*")
1214 )
1215
1216 (define-method get_contact_menu
1217   (of-object "EmpathyContactListView")
1218   (c-name "empathy_contact_list_view_get_contact_menu")
1219   (return-type "GtkWidget*")
1220   (parameters
1221     '("EmpathyContact*" "contact")
1222   )
1223 )
1224
1225 (define-method get_group_menu
1226   (of-object "EmpathyContactListView")
1227   (c-name "empathy_contact_list_view_get_group_menu")
1228   (return-type "GtkWidget*")
1229 )
1230
1231
1232
1233 ;; From empathy-contact-widget.h
1234
1235 (define-method widget_new
1236   (of-object "EmpathyContact")
1237   (c-name "empathy_contact_widget_new")
1238   (return-type "GtkWidget*")
1239   (parameters
1240     '("EmpathyContactWidgetFlags" "flags")
1241   )
1242 )
1243
1244 (define-function empathy_contact_widget_get_contact
1245   (c-name "empathy_contact_widget_get_contact")
1246   (return-type "EmpathyContact*")
1247   (parameters
1248     '("GtkWidget*" "widget")
1249   )
1250 )
1251
1252 (define-function empathy_contact_widget_set_account_filter
1253   (c-name "empathy_contact_widget_set_account_filter")
1254   (return-type "none")
1255   (parameters
1256     '("GtkWidget*" "widget")
1257     '("EmpathyAccountChooserFilterFunc" "filter")
1258     '("gpointer" "user_data")
1259   )
1260 )
1261
1262
1263
1264 ;; From empathy-geometry.h
1265
1266 (define-function empathy_geometry_save
1267   (c-name "empathy_geometry_save")
1268   (return-type "none")
1269   (parameters
1270     '("const-gchar*" "name")
1271     '("gint" "x")
1272     '("gint" "y")
1273     '("gint" "w")
1274     '("gint" "h")
1275   )
1276 )
1277
1278 (define-function empathy_geometry_load
1279   (c-name "empathy_geometry_load")
1280   (return-type "none")
1281   (parameters
1282     '("const-gchar*" "name")
1283     '("gint*" "x")
1284     '("gint*" "y")
1285     '("gint*" "w")
1286     '("gint*" "h")
1287   )
1288 )
1289
1290
1291
1292 ;; From empathy-group-chat.h
1293
1294 (define-function empathy_group_chat_get_type
1295   (c-name "empathy_group_chat_get_type")
1296   (return-type "GType")
1297 )
1298
1299 (define-function empathy_group_chat_new
1300   (c-name "empathy_group_chat_new")
1301   (is-constructor-of "EmpathyGroupChat")
1302   (return-type "EmpathyGroupChat*")
1303   (parameters
1304     '("EmpathyTpChatroom*" "tp_chat")
1305   )
1306 )
1307
1308 (define-method get_show_contacts
1309   (of-object "EmpathyGroupChat")
1310   (c-name "empathy_group_chat_get_show_contacts")
1311   (return-type "gboolean")
1312 )
1313
1314 (define-method set_show_contacts
1315   (of-object "EmpathyGroupChat")
1316   (c-name "empathy_group_chat_set_show_contacts")
1317   (return-type "none")
1318   (parameters
1319     '("gboolean" "show")
1320   )
1321 )
1322
1323 (define-method set_topic
1324   (of-object "EmpathyGroupChat")
1325   (c-name "empathy_group_chat_set_topic")
1326   (return-type "none")
1327 )
1328
1329
1330
1331 ;; From empathy-gtk-enum-types.h
1332
1333 (define-function empathy_contact_widget_flags_get_type
1334   (c-name "empathy_contact_widget_flags_get_type")
1335   (return-type "GType")
1336 )
1337
1338 (define-function empathy_contact_list_store_sort_get_type
1339   (c-name "empathy_contact_list_store_sort_get_type")
1340   (return-type "GType")
1341 )
1342
1343 (define-function empathy_contact_list_store_col_get_type
1344   (c-name "empathy_contact_list_store_col_get_type")
1345   (return-type "GType")
1346 )
1347
1348 (define-function empathy_contact_list_features_get_type
1349   (c-name "empathy_contact_list_features_get_type")
1350   (return-type "GType")
1351 )
1352
1353 (define-function empathy_chat_view_block_get_type
1354   (c-name "empathy_chat_view_block_get_type")
1355   (return-type "GType")
1356 )
1357
1358
1359
1360 ;; From empathy-images.h
1361
1362
1363
1364 ;; From empathy-log-window.h
1365
1366 (define-function empathy_log_window_show
1367   (c-name "empathy_log_window_show")
1368   (return-type "GtkWidget*")
1369   (parameters
1370     '("McAccount*" "account")
1371     '("const-gchar*" "chat_id")
1372     '("gboolean" "chatroom")
1373     '("GtkWindow*" "parent")
1374   )
1375 )
1376
1377
1378
1379 ;; From empathy-main-window.h
1380
1381 (define-function empathy_main_window_show
1382   (c-name "empathy_main_window_show")
1383   (return-type "GtkWidget*")
1384 )
1385
1386
1387
1388 ;; From empathy-new-chatroom-dialog.h
1389
1390 (define-function empathy_new_chatroom_dialog_show
1391   (c-name "empathy_new_chatroom_dialog_show")
1392   (return-type "none")
1393   (parameters
1394     '("GtkWindow*" "parent")
1395   )
1396 )
1397
1398
1399
1400 ;; From empathy-new-message-dialog.h
1401
1402 (define-function empathy_new_message_dialog_show
1403   (c-name "empathy_new_message_dialog_show")
1404   (return-type "GtkWidget*")
1405   (parameters
1406     '("GtkWindow*" "parent")
1407   )
1408 )
1409
1410
1411
1412 ;; From empathy-preferences.h
1413
1414 (define-function empathy_preferences_show
1415   (c-name "empathy_preferences_show")
1416   (return-type "GtkWidget*")
1417   (parameters
1418     '("GtkWindow*" "parent")
1419   )
1420 )
1421
1422
1423
1424 ;; From empathy-presence-chooser.h
1425
1426 (define-function empathy_presence_chooser_get_type
1427   (c-name "empathy_presence_chooser_get_type")
1428   (return-type "GType")
1429 )
1430
1431 (define-function empathy_presence_chooser_new
1432   (c-name "empathy_presence_chooser_new")
1433   (is-constructor-of "EmpathyPresenceChooser")
1434   (return-type "GtkWidget*")
1435 )
1436
1437 (define-function empathy_presence_chooser_create_menu
1438   (c-name "empathy_presence_chooser_create_menu")
1439   (return-type "GtkWidget*")
1440 )
1441
1442
1443
1444 ;; From empathy-private-chat.h
1445
1446 (define-function empathy_private_chat_get_type
1447   (c-name "empathy_private_chat_get_type")
1448   (return-type "GType")
1449 )
1450
1451 (define-function empathy_private_chat_new
1452   (c-name "empathy_private_chat_new")
1453   (is-constructor-of "EmpathyPrivateChat")
1454   (return-type "EmpathyPrivateChat*")
1455   (parameters
1456     '("EmpathyTpChat*" "tp_chat")
1457   )
1458 )
1459
1460 (define-method get_contact
1461   (of-object "EmpathyPrivateChat")
1462   (c-name "empathy_private_chat_get_contact")
1463   (return-type "EmpathyContact*")
1464 )
1465
1466
1467
1468 ;; From empathy-profile-chooser.h
1469
1470 (define-function empathy_profile_chooser_new
1471   (c-name "empathy_profile_chooser_new")
1472   (is-constructor-of "EmpathyProfileChooser")
1473   (return-type "GtkWidget*")
1474 )
1475
1476 (define-function empathy_profile_chooser_get_selected
1477   (c-name "empathy_profile_chooser_get_selected")
1478   (return-type "McProfile*")
1479   (parameters
1480     '("GtkWidget*" "widget")
1481   )
1482 )
1483
1484 (define-function empathy_profile_chooser_n_profiles
1485   (c-name "empathy_profile_chooser_n_profiles")
1486   (return-type "gint")
1487   (parameters
1488     '("GtkWidget*" "widget")
1489   )
1490 )
1491
1492
1493
1494 ;; From empathy-smiley-manager.h
1495
1496 (define-function empathy_smiley_manager_get_type
1497   (c-name "empathy_smiley_manager_get_type")
1498   (return-type "GType")
1499 )
1500
1501 (define-function empathy_smiley_manager_new
1502   (c-name "empathy_smiley_manager_new")
1503   (is-constructor-of "EmpathySmileyManager")
1504   (return-type "EmpathySmileyManager*")
1505 )
1506
1507 (define-method load
1508   (of-object "EmpathySmileyManager")
1509   (c-name "empathy_smiley_manager_load")
1510   (return-type "none")
1511 )
1512
1513 (define-method add
1514   (of-object "EmpathySmileyManager")
1515   (c-name "empathy_smiley_manager_add")
1516   (return-type "none")
1517   (parameters
1518     '("const-gchar*" "icon_name")
1519     '("const-gchar*" "first_str")
1520   )
1521   (varargs #t)
1522 )
1523
1524 (define-method add_from_pixbuf
1525   (of-object "EmpathySmileyManager")
1526   (c-name "empathy_smiley_manager_add_from_pixbuf")
1527   (return-type "none")
1528   (parameters
1529     '("GdkPixbuf*" "smiley")
1530     '("const-gchar*" "first_str")
1531   )
1532   (varargs #t)
1533 )
1534
1535 (define-method get_all
1536   (of-object "EmpathySmileyManager")
1537   (c-name "empathy_smiley_manager_get_all")
1538   (return-type "GSList*")
1539 )
1540
1541 (define-method parse
1542   (of-object "EmpathySmileyManager")
1543   (c-name "empathy_smiley_manager_parse")
1544   (return-type "GSList*")
1545   (parameters
1546     '("const-gchar*" "text")
1547   )
1548 )
1549
1550 (define-method free
1551   (of-object "EmpathySmiley")
1552   (c-name "empathy_smiley_free")
1553   (return-type "none")
1554 )
1555
1556
1557
1558 ;; From empathy-spell-dialog.h
1559
1560 (define-function empathy_spell_dialog_show
1561   (c-name "empathy_spell_dialog_show")
1562   (return-type "none")
1563   (parameters
1564     '("EmpathyChat*" "chat")
1565     '("GtkTextIter" "start")
1566     '("GtkTextIter" "end")
1567     '("const-gchar*" "word")
1568   )
1569 )
1570
1571
1572
1573 ;; From empathy-spell.h
1574
1575 (define-function empathy_spell_supported
1576   (c-name "empathy_spell_supported")
1577   (return-type "gboolean")
1578 )
1579
1580 (define-function empathy_spell_get_language_name
1581   (c-name "empathy_spell_get_language_name")
1582   (return-type "const-gchar*")
1583   (parameters
1584     '("const-gchar*" "code")
1585   )
1586 )
1587
1588 (define-function empathy_spell_get_language_codes
1589   (c-name "empathy_spell_get_language_codes")
1590   (return-type "GList*")
1591 )
1592
1593 (define-function empathy_spell_free_language_codes
1594   (c-name "empathy_spell_free_language_codes")
1595   (return-type "none")
1596   (parameters
1597     '("GList*" "codes")
1598   )
1599 )
1600
1601 (define-function empathy_spell_check
1602   (c-name "empathy_spell_check")
1603   (return-type "gboolean")
1604   (parameters
1605     '("const-gchar*" "word")
1606   )
1607 )
1608
1609 (define-function empathy_spell_get_suggestions
1610   (c-name "empathy_spell_get_suggestions")
1611   (return-type "GList*")
1612   (parameters
1613     '("const-gchar*" "word")
1614   )
1615 )
1616
1617 (define-function empathy_spell_free_suggestions
1618   (c-name "empathy_spell_free_suggestions")
1619   (return-type "none")
1620   (parameters
1621     '("GList*" "suggestions")
1622   )
1623 )
1624
1625
1626
1627 ;; From empathy-status-icon.h
1628
1629 (define-function empathy_status_icon_get_type
1630   (c-name "empathy_status_icon_get_type")
1631   (return-type "GType")
1632 )
1633
1634 (define-function empathy_status_icon_new
1635   (c-name "empathy_status_icon_new")
1636   (is-constructor-of "EmpathyStatusIcon")
1637   (return-type "EmpathyStatusIcon*")
1638   (parameters
1639     '("GtkWindow*" "window")
1640   )
1641 )
1642
1643
1644
1645 ;; From empathy-status-presets.h
1646
1647 (define-function empathy_status_presets_get_all
1648   (c-name "empathy_status_presets_get_all")
1649   (return-type "none")
1650 )
1651
1652 (define-function empathy_status_presets_get
1653   (c-name "empathy_status_presets_get")
1654   (return-type "GList*")
1655   (parameters
1656     '("McPresence" "state")
1657     '("gint" "max_number")
1658   )
1659 )
1660
1661 (define-function empathy_status_presets_set_last
1662   (c-name "empathy_status_presets_set_last")
1663   (return-type "none")
1664   (parameters
1665     '("McPresence" "state")
1666     '("const-gchar*" "status")
1667   )
1668 )
1669
1670 (define-function empathy_status_presets_remove
1671   (c-name "empathy_status_presets_remove")
1672   (return-type "none")
1673   (parameters
1674     '("McPresence" "state")
1675     '("const-gchar*" "status")
1676   )
1677 )
1678
1679 (define-function empathy_status_presets_reset
1680   (c-name "empathy_status_presets_reset")
1681   (return-type "none")
1682 )
1683
1684 (define-function empathy_status_presets_get_default_state
1685   (c-name "empathy_status_presets_get_default_state")
1686   (return-type "McPresence")
1687 )
1688
1689 (define-function empathy_status_presets_get_default_status
1690   (c-name "empathy_status_presets_get_default_status")
1691   (return-type "const-gchar*")
1692 )
1693
1694 (define-function empathy_status_presets_set_default
1695   (c-name "empathy_status_presets_set_default")
1696   (return-type "none")
1697   (parameters
1698     '("McPresence" "state")
1699     '("const-gchar*" "status")
1700   )
1701 )
1702
1703 (define-function empathy_status_presets_clear_default
1704   (c-name "empathy_status_presets_clear_default")
1705   (return-type "none")
1706 )
1707
1708
1709
1710 ;; From empathy-theme-boxes.h
1711
1712 (define-function empathy_theme_boxes_get_type
1713   (c-name "empathy_theme_boxes_get_type")
1714   (return-type "GType")
1715 )
1716
1717
1718
1719 ;; From empathy-theme.h
1720
1721 (define-function empathy_theme_get_type
1722   (c-name "empathy_theme_get_type")
1723   (return-type "GType")
1724 )
1725
1726 (define-method update_view
1727   (of-object "EmpathyTheme")
1728   (c-name "empathy_theme_update_view")
1729   (return-type "none")
1730   (parameters
1731     '("EmpathyChatView*" "view")
1732   )
1733 )
1734
1735 (define-method append_message
1736   (of-object "EmpathyTheme")
1737   (c-name "empathy_theme_append_message")
1738   (return-type "none")
1739   (parameters
1740     '("EmpathyChatView*" "view")
1741     '("EmpathyMessage*" "msg")
1742   )
1743 )
1744
1745 (define-method append_text
1746   (of-object "EmpathyTheme")
1747   (c-name "empathy_theme_append_text")
1748   (return-type "none")
1749   (parameters
1750     '("EmpathyChatView*" "view")
1751     '("const-gchar*" "body")
1752     '("const-gchar*" "tag")
1753     '("const-gchar*" "link_tag")
1754   )
1755 )
1756
1757 (define-method append_spacing
1758   (of-object "EmpathyTheme")
1759   (c-name "empathy_theme_append_spacing")
1760   (return-type "none")
1761   (parameters
1762     '("EmpathyChatView*" "view")
1763   )
1764 )
1765
1766 (define-method append_event
1767   (of-object "EmpathyTheme")
1768   (c-name "empathy_theme_append_event")
1769   (return-type "none")
1770   (parameters
1771     '("EmpathyChatView*" "view")
1772     '("const-gchar*" "str")
1773   )
1774 )
1775
1776 (define-method append_timestamp
1777   (of-object "EmpathyTheme")
1778   (c-name "empathy_theme_append_timestamp")
1779   (return-type "none")
1780   (parameters
1781     '("EmpathyChatView*" "view")
1782     '("EmpathyMessage*" "message")
1783     '("gboolean" "show_date")
1784     '("gboolean" "show_time")
1785   )
1786 )
1787
1788 (define-method maybe_append_date_and_time
1789   (of-object "EmpathyTheme")
1790   (c-name "empathy_theme_maybe_append_date_and_time")
1791   (return-type "none")
1792   (parameters
1793     '("EmpathyChatView*" "view")
1794     '("EmpathyMessage*" "message")
1795   )
1796 )
1797
1798 (define-method get_show_avatars
1799   (of-object "EmpathyTheme")
1800   (c-name "empathy_theme_get_show_avatars")
1801   (return-type "gboolean")
1802 )
1803
1804 (define-method set_show_avatars
1805   (of-object "EmpathyTheme")
1806   (c-name "empathy_theme_set_show_avatars")
1807   (return-type "none")
1808   (parameters
1809     '("gboolean" "show")
1810   )
1811 )
1812
1813
1814
1815 ;; From empathy-theme-irc.h
1816
1817 (define-function empathy_theme_irc_get_type
1818   (c-name "empathy_theme_irc_get_type")
1819   (return-type "GType")
1820 )
1821
1822
1823
1824 ;; From empathy-theme-manager.h
1825
1826 (define-function empathy_theme_manager_get_type
1827   (c-name "empathy_theme_manager_get_type")
1828   (return-type "GType")
1829 )
1830
1831 (define-function empathy_theme_manager_get
1832   (c-name "empathy_theme_manager_get")
1833   (return-type "EmpathyThemeManager*")
1834 )
1835
1836 (define-function empathy_theme_manager_get_themes
1837   (c-name "empathy_theme_manager_get_themes")
1838   (return-type "const-gchar**")
1839 )
1840
1841 (define-method apply
1842   (of-object "EmpathyThemeManager")
1843   (c-name "empathy_theme_manager_apply")
1844   (return-type "none")
1845   (parameters
1846     '("EmpathyChatView*" "view")
1847     '("const-gchar*" "theme")
1848   )
1849 )
1850
1851 (define-method apply_saved
1852   (of-object "EmpathyThemeManager")
1853   (c-name "empathy_theme_manager_apply_saved")
1854   (return-type "none")
1855   (parameters
1856     '("EmpathyChatView*" "view")
1857   )
1858 )
1859
1860
1861
1862 ;; From empathy-ui-utils.h
1863
1864 (define-function empathy_glade_get_file_simple
1865   (c-name "empathy_glade_get_file_simple")
1866   (return-type "none")
1867   (parameters
1868     '("const-gchar*" "filename")
1869     '("const-gchar*" "root")
1870     '("const-gchar*" "domain")
1871     '("const-gchar*" "first_required_widget")
1872   )
1873   (varargs #t)
1874 )
1875
1876 (define-function empathy_glade_get_file
1877   (c-name "empathy_glade_get_file")
1878   (return-type "GladeXML*")
1879   (parameters
1880     '("const-gchar*" "filename")
1881     '("const-gchar*" "root")
1882     '("const-gchar*" "domain")
1883     '("const-gchar*" "first_required_widget")
1884   )
1885   (varargs #t)
1886 )
1887
1888 (define-function empathy_glade_connect
1889   (c-name "empathy_glade_connect")
1890   (return-type "none")
1891   (parameters
1892     '("GladeXML*" "gui")
1893     '("gpointer" "user_data")
1894     '("gchar*" "first_widget")
1895   )
1896   (varargs #t)
1897 )
1898
1899 (define-function empathy_glade_setup_size_group
1900   (c-name "empathy_glade_setup_size_group")
1901   (return-type "none")
1902   (parameters
1903     '("GladeXML*" "gui")
1904     '("GtkSizeGroupMode" "mode")
1905     '("gchar*" "first_widget")
1906   )
1907   (varargs #t)
1908 )
1909
1910 (define-function empathy_icon_name_from_account
1911   (c-name "empathy_icon_name_from_account")
1912   (return-type "const-gchar*")
1913   (parameters
1914     '("McAccount*" "account")
1915   )
1916 )
1917
1918 (define-function empathy_icon_name_for_presence_state
1919   (c-name "empathy_icon_name_for_presence_state")
1920   (return-type "const-gchar*")
1921   (parameters
1922     '("McPresence" "state")
1923   )
1924 )
1925
1926 (define-function empathy_icon_name_for_presence
1927   (c-name "empathy_icon_name_for_presence")
1928   (return-type "const-gchar*")
1929   (parameters
1930     '("EmpathyPresence*" "presence")
1931   )
1932 )
1933
1934 (define-function empathy_icon_name_for_contact
1935   (c-name "empathy_icon_name_for_contact")
1936   (return-type "const-gchar*")
1937   (parameters
1938     '("EmpathyContact*" "contact")
1939   )
1940 )
1941
1942 (define-function empathy_pixbuf_from_data
1943   (c-name "empathy_pixbuf_from_data")
1944   (return-type "GdkPixbuf*")
1945   (parameters
1946     '("gchar*" "data")
1947     '("gsize" "data_size")
1948   )
1949 )
1950
1951 (define-function empathy_pixbuf_from_avatar_scaled
1952   (c-name "empathy_pixbuf_from_avatar_scaled")
1953   (return-type "GdkPixbuf*")
1954   (parameters
1955     '("EmpathyAvatar*" "avatar")
1956     '("gint" "width")
1957     '("gint" "height")
1958   )
1959 )
1960
1961 (define-function empathy_pixbuf_avatar_from_contact_scaled
1962   (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1963   (return-type "GdkPixbuf*")
1964   (parameters
1965     '("EmpathyContact*" "contact")
1966     '("gint" "width")
1967     '("gint" "height")
1968   )
1969 )
1970
1971 (define-function empathy_pixbuf_scale_down_if_necessary
1972   (c-name "empathy_pixbuf_scale_down_if_necessary")
1973   (return-type "GdkPixbuf*")
1974   (parameters
1975     '("GdkPixbuf*" "pixbuf")
1976     '("gint" "max_size")
1977   )
1978 )
1979
1980 (define-function empathy_pixbuf_from_icon_name
1981   (c-name "empathy_pixbuf_from_icon_name")
1982   (return-type "GdkPixbuf*")
1983   (parameters
1984     '("const-gchar*" "icon_name")
1985     '("GtkIconSize" "icon_size")
1986   )
1987 )
1988
1989 (define-function empathy_text_iter_forward_search
1990   (c-name "empathy_text_iter_forward_search")
1991   (return-type "gboolean")
1992   (parameters
1993     '("const-GtkTextIter*" "iter")
1994     '("const-gchar*" "str")
1995     '("GtkTextIter*" "match_start")
1996     '("GtkTextIter*" "match_end")
1997     '("const-GtkTextIter*" "limit")
1998   )
1999 )
2000
2001 (define-function empathy_text_iter_backward_search
2002   (c-name "empathy_text_iter_backward_search")
2003   (return-type "gboolean")
2004   (parameters
2005     '("const-GtkTextIter*" "iter")
2006     '("const-gchar*" "str")
2007     '("GtkTextIter*" "match_start")
2008     '("GtkTextIter*" "match_end")
2009     '("const-GtkTextIter*" "limit")
2010   )
2011 )
2012
2013 (define-function empathy_window_get_is_visible
2014   (c-name "empathy_window_get_is_visible")
2015   (return-type "gboolean")
2016   (parameters
2017     '("GtkWindow*" "window")
2018   )
2019 )
2020
2021 (define-function empathy_window_present
2022   (c-name "empathy_window_present")
2023   (return-type "none")
2024   (parameters
2025     '("GtkWindow*" "window")
2026     '("gboolean" "steal_focus")
2027   )
2028 )
2029
2030 (define-function empathy_window_iconify
2031   (c-name "empathy_window_iconify")
2032   (return-type "none")
2033   (parameters
2034     '("GtkWindow*" "window")
2035     '("GtkStatusIcon*" "status_icon")
2036   )
2037 )
2038
2039 (define-function empathy_get_toplevel_window
2040   (c-name "empathy_get_toplevel_window")
2041   (return-type "GtkWindow*")
2042   (parameters
2043     '("GtkWidget*" "widget")
2044   )
2045 )
2046
2047 (define-function empathy_url_show
2048   (c-name "empathy_url_show")
2049   (return-type "none")
2050   (parameters
2051     '("const-char*" "url")
2052   )
2053 )
2054
2055 (define-function empathy_toggle_button_set_state_quietly
2056   (c-name "empathy_toggle_button_set_state_quietly")
2057   (return-type "none")
2058   (parameters
2059     '("GtkWidget*" "widget")
2060     '("GCallback" "callback")
2061     '("gpointer" "user_data")
2062     '("gboolean" "active")
2063   )
2064 )
2065
2066 (define-function empathy_link_button_new
2067   (c-name "empathy_link_button_new")
2068   (is-constructor-of "EmpathyLinkButton")
2069   (return-type "GtkWidget*")
2070   (parameters
2071     '("const-gchar*" "url")
2072     '("const-gchar*" "title")
2073   )
2074 )
2075
2076 (define-function empathy_text_buffer_tag_set
2077   (c-name "empathy_text_buffer_tag_set")
2078   (return-type "GtkTextTag*")
2079   (parameters
2080     '("GtkTextBuffer*" "buffer")
2081     '("const-gchar*" "tag_name")
2082     '("const-gchar*" "first_property_name")
2083   )
2084   (varargs #t)
2085 )
2086
2087
2088
2089 ;; From ephy-spinner.h
2090
2091 (define-function ephy_spinner_get_type
2092   (c-name "ephy_spinner_get_type")
2093   (return-type "GType")
2094 )
2095
2096 (define-function ephy_spinner_new
2097   (c-name "ephy_spinner_new")
2098   (is-constructor-of "EphySpinner")
2099   (return-type "GtkWidget*")
2100 )
2101
2102 (define-method start
2103   (of-object "EphySpinner")
2104   (c-name "ephy_spinner_start")
2105   (return-type "none")
2106 )
2107
2108 (define-method stop
2109   (of-object "EphySpinner")
2110   (c-name "ephy_spinner_stop")
2111   (return-type "none")
2112 )
2113
2114 (define-method set_size
2115   (of-object "EphySpinner")
2116   (c-name "ephy_spinner_set_size")
2117   (return-type "none")
2118   (parameters
2119     '("GtkIconSize" "size")
2120   )
2121 )
2122
2123
2124
2125 ;; From stamp-empathy-gtk-enum-types.h
2126
2127