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