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