]> git.0d.be Git - empathy.git/blob - python/pyempathygtk/pyempathygtk.defs
ed3c2af71799309140c6df3730d66a3a75cfb211
[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-accounts-dialog.h
415
416 (define-function accounts_dialog_show
417   (c-name "empathy_accounts_dialog_show")
418   (return-type "GtkWidget*")
419   (parameters
420     '("GtkWindow*" "parent")
421     '("McAccount*" "selected_account")
422   )
423 )
424
425
426
427 ;; From empathy-chat-view.h
428
429 (define-function chat_view_get_type
430   (c-name "empathy_chat_view_get_type")
431   (return-type "GType")
432 )
433
434 (define-function chat_view_new
435   (c-name "empathy_chat_view_new")
436   (is-constructor-of "EmpathyChatView")
437   (return-type "EmpathyChatView*")
438 )
439
440 (define-method append_message
441   (of-object "EmpathyChatView")
442   (c-name "empathy_chat_view_append_message")
443   (return-type "none")
444   (parameters
445     '("EmpathyMessage*" "msg")
446   )
447 )
448
449 (define-method append_event
450   (of-object "EmpathyChatView")
451   (c-name "empathy_chat_view_append_event")
452   (return-type "none")
453   (parameters
454     '("const-gchar*" "str")
455   )
456 )
457
458 (define-method append_button
459   (of-object "EmpathyChatView")
460   (c-name "empathy_chat_view_append_button")
461   (return-type "none")
462   (parameters
463     '("const-gchar*" "message")
464     '("GtkWidget*" "button1")
465     '("GtkWidget*" "button2")
466   )
467 )
468
469 (define-method scroll
470   (of-object "EmpathyChatView")
471   (c-name "empathy_chat_view_scroll")
472   (return-type "none")
473   (parameters
474     '("gboolean" "allow_scrolling")
475   )
476 )
477
478 (define-method scroll_down
479   (of-object "EmpathyChatView")
480   (c-name "empathy_chat_view_scroll_down")
481   (return-type "none")
482 )
483
484 (define-method get_selection_bounds
485   (of-object "EmpathyChatView")
486   (c-name "empathy_chat_view_get_selection_bounds")
487   (return-type "gboolean")
488   (parameters
489     '("GtkTextIter*" "start")
490     '("GtkTextIter*" "end")
491   )
492 )
493
494 (define-method clear
495   (of-object "EmpathyChatView")
496   (c-name "empathy_chat_view_clear")
497   (return-type "none")
498 )
499
500 (define-method find_previous
501   (of-object "EmpathyChatView")
502   (c-name "empathy_chat_view_find_previous")
503   (return-type "gboolean")
504   (parameters
505     '("const-gchar*" "search_criteria")
506     '("gboolean" "new_search")
507   )
508 )
509
510 (define-method find_next
511   (of-object "EmpathyChatView")
512   (c-name "empathy_chat_view_find_next")
513   (return-type "gboolean")
514   (parameters
515     '("const-gchar*" "search_criteria")
516     '("gboolean" "new_search")
517   )
518 )
519
520 (define-method find_abilities
521   (of-object "EmpathyChatView")
522   (c-name "empathy_chat_view_find_abilities")
523   (return-type "none")
524   (parameters
525     '("const-gchar*" "search_criteria")
526     '("gboolean*" "can_do_previous")
527     '("gboolean*" "can_do_next")
528   )
529 )
530
531 (define-method highlight
532   (of-object "EmpathyChatView")
533   (c-name "empathy_chat_view_highlight")
534   (return-type "none")
535   (parameters
536     '("const-gchar*" "text")
537   )
538 )
539
540 (define-method copy_clipboard
541   (of-object "EmpathyChatView")
542   (c-name "empathy_chat_view_copy_clipboard")
543   (return-type "none")
544 )
545
546 (define-method get_theme
547   (of-object "EmpathyChatView")
548   (c-name "empathy_chat_view_get_theme")
549   (return-type "EmpathyTheme*")
550 )
551
552 (define-method set_theme
553   (of-object "EmpathyChatView")
554   (c-name "empathy_chat_view_set_theme")
555   (return-type "none")
556   (parameters
557     '("EmpathyTheme*" "theme")
558   )
559 )
560
561 (define-method set_margin
562   (of-object "EmpathyChatView")
563   (c-name "empathy_chat_view_set_margin")
564   (return-type "none")
565   (parameters
566     '("gint" "margin")
567   )
568 )
569
570 (define-function chat_view_get_smiley_menu
571   (c-name "empathy_chat_view_get_smiley_menu")
572   (return-type "GtkWidget*")
573   (parameters
574     '("GCallback" "callback")
575     '("gpointer" "user_data")
576   )
577 )
578
579 (define-method get_last_timestamp
580   (of-object "EmpathyChatView")
581   (c-name "empathy_chat_view_get_last_timestamp")
582   (return-type "time_t")
583 )
584
585 (define-method set_last_timestamp
586   (of-object "EmpathyChatView")
587   (c-name "empathy_chat_view_set_last_timestamp")
588   (return-type "none")
589   (parameters
590     '("time_t" "timestamp")
591   )
592 )
593
594 (define-method get_last_contact
595   (of-object "EmpathyChatView")
596   (c-name "empathy_chat_view_get_last_contact")
597   (return-type "EmpathyContact*")
598 )
599
600 (define-function chat_view_get_avatar_pixbuf_with_cache
601   (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
602   (return-type "GdkPixbuf*")
603   (parameters
604     '("EmpathyContact*" "contact")
605   )
606 )
607
608
609
610 ;; From empathy-log-window.h
611
612 (define-function log_window_show
613   (c-name "empathy_log_window_show")
614   (return-type "GtkWidget*")
615   (parameters
616     '("McAccount*" "account")
617     '("const-gchar*" "chat_id")
618     '("gboolean" "chatroom")
619     '("GtkWindow*" "parent")
620   )
621 )
622
623
624
625 ;; From empathy-theme-boxes.h
626
627 (define-function theme_boxes_get_type
628   (c-name "empathy_theme_boxes_get_type")
629   (return-type "GType")
630 )
631
632
633
634 ;; From empathy-account-widget.h
635
636 (define-function account_widget_handle_params
637   (c-name "empathy_account_widget_handle_params")
638   (return-type "none")
639   (parameters
640     '("McAccount*" "account")
641     '("GladeXML*" "glade")
642     '("const-gchar*" "first_widget_name")
643   )
644   (varargs #t)
645 )
646
647 (define-function account_widget_add_forget_button
648   (c-name "empathy_account_widget_add_forget_button")
649   (return-type "none")
650   (parameters
651     '("McAccount*" "account")
652     '("GladeXML*" "glade")
653     '("const-gchar*" "button")
654     '("const-gchar*" "entry")
655   )
656 )
657
658 (define-function account_widget_generic_new
659   (c-name "empathy_account_widget_generic_new")
660   (is-constructor-of "EmpathyAccountWidgetGeneric")
661   (return-type "GtkWidget*")
662   (parameters
663     '("McAccount*" "account")
664   )
665 )
666
667 (define-function account_widget_salut_new
668   (c-name "empathy_account_widget_salut_new")
669   (is-constructor-of "EmpathyAccountWidgetSalut")
670   (return-type "GtkWidget*")
671   (parameters
672     '("McAccount*" "account")
673   )
674 )
675
676 (define-function account_widget_msn_new
677   (c-name "empathy_account_widget_msn_new")
678   (is-constructor-of "EmpathyAccountWidgetMsn")
679   (return-type "GtkWidget*")
680   (parameters
681     '("McAccount*" "account")
682   )
683 )
684
685 (define-function account_widget_jabber_new
686   (c-name "empathy_account_widget_jabber_new")
687   (is-constructor-of "EmpathyAccountWidgetJabber")
688   (return-type "GtkWidget*")
689   (parameters
690     '("McAccount*" "account")
691   )
692 )
693
694 (define-function account_widget_icq_new
695   (c-name "empathy_account_widget_icq_new")
696   (is-constructor-of "EmpathyAccountWidgetIcq")
697   (return-type "GtkWidget*")
698   (parameters
699     '("McAccount*" "account")
700   )
701 )
702
703 (define-function account_widget_aim_new
704   (c-name "empathy_account_widget_aim_new")
705   (is-constructor-of "EmpathyAccountWidgetAim")
706   (return-type "GtkWidget*")
707   (parameters
708     '("McAccount*" "account")
709   )
710 )
711
712 (define-function account_widget_yahoo_new
713   (c-name "empathy_account_widget_yahoo_new")
714   (is-constructor-of "EmpathyAccountWidgetYahoo")
715   (return-type "GtkWidget*")
716   (parameters
717     '("McAccount*" "account")
718   )
719 )
720
721 (define-function account_widget_groupwise_new
722   (c-name "empathy_account_widget_groupwise_new")
723   (is-constructor-of "EmpathyAccountWidgetGroupwise")
724   (return-type "GtkWidget*")
725   (parameters
726     '("McAccount*" "account")
727   )
728 )
729
730
731
732 ;; From empathy-conf.h
733
734 (define-function conf_get_type
735   (c-name "empathy_conf_get_type")
736   (return-type "GType")
737 )
738
739 (define-function conf_get
740   (c-name "empathy_conf_get")
741   (return-type "EmpathyConf*")
742 )
743
744 (define-function conf_shutdown
745   (c-name "empathy_conf_shutdown")
746   (return-type "none")
747 )
748
749 (define-method notify_add
750   (of-object "EmpathyConf")
751   (c-name "empathy_conf_notify_add")
752   (return-type "guint")
753   (parameters
754     '("const-gchar*" "key")
755     '("EmpathyConfNotifyFunc" "func")
756     '("gpointer" "data")
757   )
758 )
759
760 (define-method notify_remove
761   (of-object "EmpathyConf")
762   (c-name "empathy_conf_notify_remove")
763   (return-type "gboolean")
764   (parameters
765     '("guint" "id")
766   )
767 )
768
769 (define-method set_int
770   (of-object "EmpathyConf")
771   (c-name "empathy_conf_set_int")
772   (return-type "gboolean")
773   (parameters
774     '("const-gchar*" "key")
775     '("gint" "value")
776   )
777 )
778
779 (define-method get_int
780   (of-object "EmpathyConf")
781   (c-name "empathy_conf_get_int")
782   (return-type "gboolean")
783   (parameters
784     '("const-gchar*" "key")
785     '("gint*" "value")
786   )
787 )
788
789 (define-method set_bool
790   (of-object "EmpathyConf")
791   (c-name "empathy_conf_set_bool")
792   (return-type "gboolean")
793   (parameters
794     '("const-gchar*" "key")
795     '("gboolean" "value")
796   )
797 )
798
799 (define-method get_bool
800   (of-object "EmpathyConf")
801   (c-name "empathy_conf_get_bool")
802   (return-type "gboolean")
803   (parameters
804     '("const-gchar*" "key")
805     '("gboolean*" "value")
806   )
807 )
808
809 (define-method set_string
810   (of-object "EmpathyConf")
811   (c-name "empathy_conf_set_string")
812   (return-type "gboolean")
813   (parameters
814     '("const-gchar*" "key")
815     '("const-gchar*" "value")
816   )
817 )
818
819 (define-method get_string
820   (of-object "EmpathyConf")
821   (c-name "empathy_conf_get_string")
822   (return-type "gboolean")
823   (parameters
824     '("const-gchar*" "key")
825     '("gchar**" "value")
826   )
827 )
828
829 (define-method set_string_list
830   (of-object "EmpathyConf")
831   (c-name "empathy_conf_set_string_list")
832   (return-type "gboolean")
833   (parameters
834     '("const-gchar*" "key")
835     '("GSList*" "value")
836   )
837 )
838
839 (define-method get_string_list
840   (of-object "EmpathyConf")
841   (c-name "empathy_conf_get_string_list")
842   (return-type "gboolean")
843   (parameters
844     '("const-gchar*" "key")
845     '("GSList**" "value")
846   )
847 )
848
849
850
851 ;; From empathy-theme.h
852
853 (define-function theme_get_type
854   (c-name "empathy_theme_get_type")
855   (return-type "GType")
856 )
857
858 (define-method update_view
859   (of-object "EmpathyTheme")
860   (c-name "empathy_theme_update_view")
861   (return-type "none")
862   (parameters
863     '("EmpathyChatView*" "view")
864   )
865 )
866
867 (define-method append_message
868   (of-object "EmpathyTheme")
869   (c-name "empathy_theme_append_message")
870   (return-type "none")
871   (parameters
872     '("EmpathyChatView*" "view")
873     '("EmpathyMessage*" "msg")
874   )
875 )
876
877 (define-method append_text
878   (of-object "EmpathyTheme")
879   (c-name "empathy_theme_append_text")
880   (return-type "none")
881   (parameters
882     '("EmpathyChatView*" "view")
883     '("const-gchar*" "body")
884     '("const-gchar*" "tag")
885     '("const-gchar*" "link_tag")
886   )
887 )
888
889 (define-method append_spacing
890   (of-object "EmpathyTheme")
891   (c-name "empathy_theme_append_spacing")
892   (return-type "none")
893   (parameters
894     '("EmpathyChatView*" "view")
895   )
896 )
897
898 (define-method append_event
899   (of-object "EmpathyTheme")
900   (c-name "empathy_theme_append_event")
901   (return-type "none")
902   (parameters
903     '("EmpathyChatView*" "view")
904     '("const-gchar*" "str")
905   )
906 )
907
908 (define-method append_timestamp
909   (of-object "EmpathyTheme")
910   (c-name "empathy_theme_append_timestamp")
911   (return-type "none")
912   (parameters
913     '("EmpathyChatView*" "view")
914     '("EmpathyMessage*" "message")
915     '("gboolean" "show_date")
916     '("gboolean" "show_time")
917   )
918 )
919
920 (define-method maybe_append_date_and_time
921   (of-object "EmpathyTheme")
922   (c-name "empathy_theme_maybe_append_date_and_time")
923   (return-type "none")
924   (parameters
925     '("EmpathyChatView*" "view")
926     '("EmpathyMessage*" "message")
927   )
928 )
929
930 (define-method get_show_avatars
931   (of-object "EmpathyTheme")
932   (c-name "empathy_theme_get_show_avatars")
933   (return-type "gboolean")
934 )
935
936 (define-method set_show_avatars
937   (of-object "EmpathyTheme")
938   (c-name "empathy_theme_set_show_avatars")
939   (return-type "none")
940   (parameters
941     '("gboolean" "show")
942   )
943 )
944
945
946
947 ;; From empathy-account-widget-irc.h
948
949 (define-function account_widget_irc_new
950   (c-name "empathy_account_widget_irc_new")
951   (is-constructor-of "EmpathyAccountWidgetIrc")
952   (return-type "GtkWidget*")
953   (parameters
954     '("McAccount*" "account")
955   )
956 )
957
958
959
960 ;; From empathy-account-widget-sip.h
961
962 (define-function account_widget_sip_new
963   (c-name "empathy_account_widget_sip_new")
964   (is-constructor-of "EmpathyAccountWidgetSip")
965   (return-type "GtkWidget*")
966   (parameters
967     '("McAccount*" "account")
968   )
969 )
970
971
972
973 ;; From empathy-contact-dialogs.h
974
975 (define-function subscription_dialog_show
976   (c-name "empathy_subscription_dialog_show")
977   (return-type "none")
978   (parameters
979     '("EmpathyContact*" "contact")
980     '("GtkWindow*" "parent")
981   )
982 )
983
984 (define-method information_dialog_show
985   (of-object "EmpathyContact")
986   (c-name "empathy_contact_information_dialog_show")
987   (return-type "none")
988   (parameters
989     '("GtkWindow*" "parent")
990     '("gboolean" "edit")
991     '("gboolean" "is_user")
992   )
993 )
994
995 (define-function new_contact_dialog_show
996   (c-name "empathy_new_contact_dialog_show")
997   (return-type "none")
998   (parameters
999     '("GtkWindow*" "parent")
1000   )
1001 )
1002
1003
1004
1005 ;; From empathy-new-message-dialog.h
1006
1007 (define-function new_message_dialog_show
1008   (c-name "empathy_new_message_dialog_show")
1009   (return-type "GtkWidget*")
1010   (parameters
1011     '("GtkWindow*" "parent")
1012   )
1013 )
1014
1015
1016
1017 ;; From empathy-theme-irc.h
1018
1019 (define-function theme_irc_get_type
1020   (c-name "empathy_theme_irc_get_type")
1021   (return-type "GType")
1022 )
1023
1024
1025
1026 ;; From empathy-avatar-chooser.h
1027
1028 (define-function avatar_chooser_get_type
1029   (c-name "empathy_avatar_chooser_get_type")
1030   (return-type "GType")
1031 )
1032
1033 (define-function avatar_chooser_new
1034   (c-name "empathy_avatar_chooser_new")
1035   (is-constructor-of "EmpathyAvatarChooser")
1036   (return-type "GtkWidget*")
1037 )
1038
1039 (define-method set
1040   (of-object "EmpathyAvatarChooser")
1041   (c-name "empathy_avatar_chooser_set")
1042   (return-type "none")
1043   (parameters
1044     '("EmpathyAvatar*" "avatar")
1045   )
1046 )
1047
1048 (define-method get_image_data
1049   (of-object "EmpathyAvatarChooser")
1050   (c-name "empathy_avatar_chooser_get_image_data")
1051   (return-type "none")
1052   (parameters
1053     '("const-gchar**" "data")
1054     '("gsize*" "data_size")
1055     '("const-gchar**" "mime_type")
1056   )
1057 )
1058
1059
1060
1061 ;; From empathy-contact-list-store.h
1062
1063 (define-function contact_list_store_get_type
1064   (c-name "empathy_contact_list_store_get_type")
1065   (return-type "GType")
1066 )
1067
1068 (define-function empathy_contact_list_store_new
1069   (is-constructor-of "EmpathyContactListStore")
1070   (c-name "empathy_contact_list_store_new")
1071   (return-type "EmpathyContactListStore*")
1072   (parameters
1073     '("EmpathyContactList*" "list_iface")
1074   )
1075 )
1076
1077 (define-method get_list_iface
1078   (of-object "EmpathyContactListStore")
1079   (c-name "empathy_contact_list_store_get_list_iface")
1080   (return-type "EmpathyContactList*")
1081 )
1082
1083 (define-method get_show_offline
1084   (of-object "EmpathyContactListStore")
1085   (c-name "empathy_contact_list_store_get_show_offline")
1086   (return-type "gboolean")
1087 )
1088
1089 (define-method set_show_offline
1090   (of-object "EmpathyContactListStore")
1091   (c-name "empathy_contact_list_store_set_show_offline")
1092   (return-type "none")
1093   (parameters
1094     '("gboolean" "show_offline")
1095   )
1096 )
1097
1098 (define-method get_show_avatars
1099   (of-object "EmpathyContactListStore")
1100   (c-name "empathy_contact_list_store_get_show_avatars")
1101   (return-type "gboolean")
1102 )
1103
1104 (define-method set_show_avatars
1105   (of-object "EmpathyContactListStore")
1106   (c-name "empathy_contact_list_store_set_show_avatars")
1107   (return-type "none")
1108   (parameters
1109     '("gboolean" "show_avatars")
1110   )
1111 )
1112
1113 (define-method get_show_groups
1114   (of-object "EmpathyContactListStore")
1115   (c-name "empathy_contact_list_store_get_show_groups")
1116   (return-type "gboolean")
1117 )
1118
1119 (define-method set_show_groups
1120   (of-object "EmpathyContactListStore")
1121   (c-name "empathy_contact_list_store_set_show_groups")
1122   (return-type "none")
1123   (parameters
1124     '("gboolean" "show_groups")
1125   )
1126 )
1127
1128 (define-method get_is_compact
1129   (of-object "EmpathyContactListStore")
1130   (c-name "empathy_contact_list_store_get_is_compact")
1131   (return-type "gboolean")
1132 )
1133
1134 (define-method set_is_compact
1135   (of-object "EmpathyContactListStore")
1136   (c-name "empathy_contact_list_store_set_is_compact")
1137   (return-type "none")
1138   (parameters
1139     '("gboolean" "is_compact")
1140   )
1141 )
1142
1143 (define-method get_sort_criterium
1144   (of-object "EmpathyContactListStore")
1145   (c-name "empathy_contact_list_store_get_sort_criterium")
1146   (return-type "EmpathyContactListStoreSort")
1147 )
1148
1149 (define-method set_sort_criterium
1150   (of-object "EmpathyContactListStore")
1151   (c-name "empathy_contact_list_store_set_sort_criterium")
1152   (return-type "none")
1153   (parameters
1154     '("EmpathyContactListStoreSort" "sort_criterium")
1155   )
1156 )
1157
1158 (define-function contact_list_store_row_separator_func
1159   (c-name "empathy_contact_list_store_row_separator_func")
1160   (return-type "gboolean")
1161   (parameters
1162     '("GtkTreeModel*" "model")
1163     '("GtkTreeIter*" "iter")
1164     '("gpointer" "data")
1165   )
1166 )
1167
1168 (define-function contact_list_store_get_parent_group
1169   (c-name "empathy_contact_list_store_get_parent_group")
1170   (return-type "gchar*")
1171   (parameters
1172     '("GtkTreeModel*" "model")
1173     '("GtkTreePath*" "path")
1174     '("gboolean*" "path_is_group")
1175   )
1176 )
1177
1178 (define-function contact_list_store_search_equal_func
1179   (c-name "empathy_contact_list_store_search_equal_func")
1180   (return-type "gboolean")
1181   (parameters
1182     '("GtkTreeModel*" "model")
1183     '("gint" "column")
1184     '("const-gchar*" "key")
1185     '("GtkTreeIter*" "iter")
1186     '("gpointer" "search_data")
1187   )
1188 )
1189
1190
1191
1192 ;; From empathy-presence-chooser.h
1193
1194 (define-function presence_chooser_get_type
1195   (c-name "empathy_presence_chooser_get_type")
1196   (return-type "GType")
1197 )
1198
1199 (define-function presence_chooser_new
1200   (c-name "empathy_presence_chooser_new")
1201   (is-constructor-of "EmpathyPresenceChooser")
1202   (return-type "GtkWidget*")
1203 )
1204
1205 (define-function presence_chooser_create_menu
1206   (c-name "empathy_presence_chooser_create_menu")
1207   (return-type "GtkWidget*")
1208 )
1209
1210
1211
1212 ;; From empathy-theme-manager.h
1213
1214 (define-function theme_manager_get_type
1215   (c-name "empathy_theme_manager_get_type")
1216   (return-type "GType")
1217 )
1218
1219 (define-function theme_manager_get
1220   (c-name "empathy_theme_manager_get")
1221   (return-type "EmpathyThemeManager*")
1222 )
1223
1224 (define-function theme_manager_get_themes
1225   (c-name "empathy_theme_manager_get_themes")
1226   (return-type "const-gchar**")
1227 )
1228
1229 (define-method apply
1230   (of-object "EmpathyThemeManager")
1231   (c-name "empathy_theme_manager_apply")
1232   (return-type "none")
1233   (parameters
1234     '("EmpathyChatView*" "view")
1235     '("const-gchar*" "theme")
1236   )
1237 )
1238
1239 (define-method apply_saved
1240   (of-object "EmpathyThemeManager")
1241   (c-name "empathy_theme_manager_apply_saved")
1242   (return-type "none")
1243   (parameters
1244     '("EmpathyChatView*" "view")
1245   )
1246 )
1247
1248
1249
1250 ;; From empathy-avatar-image.h
1251
1252 (define-function avatar_image_get_type
1253   (c-name "empathy_avatar_image_get_type")
1254   (return-type "GType")
1255 )
1256
1257 (define-function avatar_image_new
1258   (c-name "empathy_avatar_image_new")
1259   (is-constructor-of "EmpathyAvatarImage")
1260   (return-type "GtkWidget*")
1261 )
1262
1263 (define-method set
1264   (of-object "EmpathyAvatarImage")
1265   (c-name "empathy_avatar_image_set")
1266   (return-type "none")
1267   (parameters
1268     '("EmpathyAvatar*" "avatar")
1269   )
1270 )
1271
1272
1273
1274 ;; From empathy-contact-list-view.h
1275
1276 (define-function contact_list_view_get_type
1277   (c-name "empathy_contact_list_view_get_type")
1278   (return-type "GType")
1279 )
1280
1281 (define-function contact_list_view_new
1282   (c-name "empathy_contact_list_view_new")
1283   (is-constructor-of "EmpathyContactListView")
1284   (return-type "EmpathyContactListView*")
1285   (parameters
1286     '("EmpathyContactListStore*" "store")
1287     '("EmpathyContactListFeatureFlags" "list_features")
1288     '("EmpathyContactFeatureFlags" "contact_features")
1289   )
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 )
1309
1310 (define-method get_group_menu
1311   (of-object "EmpathyContactListView")
1312   (c-name "empathy_contact_list_view_get_group_menu")
1313   (return-type "GtkWidget*")
1314 )
1315
1316
1317
1318 ;; From empathy-ui-utils.h
1319
1320 (define-function glade_get_file_simple
1321   (c-name "empathy_glade_get_file_simple")
1322   (return-type "none")
1323   (parameters
1324     '("const-gchar*" "filename")
1325     '("const-gchar*" "root")
1326     '("const-gchar*" "domain")
1327     '("const-gchar*" "first_required_widget")
1328   )
1329   (varargs #t)
1330 )
1331
1332 (define-function glade_get_file
1333   (c-name "empathy_glade_get_file")
1334   (return-type "GladeXML*")
1335   (parameters
1336     '("const-gchar*" "filename")
1337     '("const-gchar*" "root")
1338     '("const-gchar*" "domain")
1339     '("const-gchar*" "first_required_widget")
1340   )
1341   (varargs #t)
1342 )
1343
1344 (define-function glade_connect
1345   (c-name "empathy_glade_connect")
1346   (return-type "none")
1347   (parameters
1348     '("GladeXML*" "gui")
1349     '("gpointer" "user_data")
1350     '("gchar*" "first_widget")
1351   )
1352   (varargs #t)
1353 )
1354
1355 (define-function glade_setup_size_group
1356   (c-name "empathy_glade_setup_size_group")
1357   (return-type "none")
1358   (parameters
1359     '("GladeXML*" "gui")
1360     '("GtkSizeGroupMode" "mode")
1361     '("gchar*" "first_widget")
1362   )
1363   (varargs #t)
1364 )
1365
1366 (define-function icon_name_from_account
1367   (c-name "empathy_icon_name_from_account")
1368   (return-type "const-gchar*")
1369   (parameters
1370     '("McAccount*" "account")
1371   )
1372 )
1373
1374 (define-function icon_name_for_presence
1375   (c-name "empathy_icon_name_for_presence")
1376   (return-type "const-gchar*")
1377   (parameters
1378     '("McPresence" "presence")
1379   )
1380 )
1381
1382 (define-function icon_name_for_contact
1383   (c-name "empathy_icon_name_for_contact")
1384   (return-type "const-gchar*")
1385   (parameters
1386     '("EmpathyContact*" "contact")
1387   )
1388 )
1389
1390 (define-function pixbuf_from_data
1391   (c-name "empathy_pixbuf_from_data")
1392   (return-type "GdkPixbuf*")
1393   (parameters
1394     '("gchar*" "data")
1395     '("gsize" "data_size")
1396   )
1397 )
1398
1399 (define-function pixbuf_from_avatar_scaled
1400   (c-name "empathy_pixbuf_from_avatar_scaled")
1401   (return-type "GdkPixbuf*")
1402   (parameters
1403     '("EmpathyAvatar*" "avatar")
1404     '("gint" "width")
1405     '("gint" "height")
1406   )
1407 )
1408
1409 (define-function pixbuf_avatar_from_contact_scaled
1410   (c-name "empathy_pixbuf_avatar_from_contact_scaled")
1411   (return-type "GdkPixbuf*")
1412   (parameters
1413     '("EmpathyContact*" "contact")
1414     '("gint" "width")
1415     '("gint" "height")
1416   )
1417 )
1418
1419 (define-function pixbuf_scale_down_if_necessary
1420   (c-name "empathy_pixbuf_scale_down_if_necessary")
1421   (return-type "GdkPixbuf*")
1422   (parameters
1423     '("GdkPixbuf*" "pixbuf")
1424     '("gint" "max_size")
1425   )
1426 )
1427
1428 (define-function pixbuf_from_icon_name
1429   (c-name "empathy_pixbuf_from_icon_name")
1430   (return-type "GdkPixbuf*")
1431   (parameters
1432     '("const-gchar*" "icon_name")
1433     '("GtkIconSize" "icon_size")
1434   )
1435 )
1436
1437 (define-function text_iter_forward_search
1438   (c-name "empathy_text_iter_forward_search")
1439   (return-type "gboolean")
1440   (parameters
1441     '("const-GtkTextIter*" "iter")
1442     '("const-gchar*" "str")
1443     '("GtkTextIter*" "match_start")
1444     '("GtkTextIter*" "match_end")
1445     '("const-GtkTextIter*" "limit")
1446   )
1447 )
1448
1449 (define-function text_iter_backward_search
1450   (c-name "empathy_text_iter_backward_search")
1451   (return-type "gboolean")
1452   (parameters
1453     '("const-GtkTextIter*" "iter")
1454     '("const-gchar*" "str")
1455     '("GtkTextIter*" "match_start")
1456     '("GtkTextIter*" "match_end")
1457     '("const-GtkTextIter*" "limit")
1458   )
1459 )
1460
1461 (define-function window_get_is_visible
1462   (c-name "empathy_window_get_is_visible")
1463   (return-type "gboolean")
1464   (parameters
1465     '("GtkWindow*" "window")
1466   )
1467 )
1468
1469 (define-function window_present
1470   (c-name "empathy_window_present")
1471   (return-type "none")
1472   (parameters
1473     '("GtkWindow*" "window")
1474     '("gboolean" "steal_focus")
1475   )
1476 )
1477
1478 (define-function window_iconify
1479   (c-name "empathy_window_iconify")
1480   (return-type "none")
1481   (parameters
1482     '("GtkWindow*" "window")
1483     '("GtkStatusIcon*" "status_icon")
1484   )
1485 )
1486
1487 (define-function get_toplevel_window
1488   (c-name "empathy_get_toplevel_window")
1489   (return-type "GtkWindow*")
1490   (parameters
1491     '("GtkWidget*" "widget")
1492   )
1493 )
1494
1495 (define-function url_show
1496   (c-name "empathy_url_show")
1497   (return-type "none")
1498   (parameters
1499     '("const-char*" "url")
1500   )
1501 )
1502
1503 (define-function toggle_button_set_state_quietly
1504   (c-name "empathy_toggle_button_set_state_quietly")
1505   (return-type "none")
1506   (parameters
1507     '("GtkWidget*" "widget")
1508     '("GCallback" "callback")
1509     '("gpointer" "user_data")
1510     '("gboolean" "active")
1511   )
1512 )
1513
1514 (define-function link_button_new
1515   (c-name "empathy_link_button_new")
1516   (is-constructor-of "EmpathyLinkButton")
1517   (return-type "GtkWidget*")
1518   (parameters
1519     '("const-gchar*" "url")
1520     '("const-gchar*" "title")
1521   )
1522 )
1523
1524 (define-function text_buffer_tag_set
1525   (c-name "empathy_text_buffer_tag_set")
1526   (return-type "GtkTextTag*")
1527   (parameters
1528     '("GtkTextBuffer*" "buffer")
1529     '("const-gchar*" "tag_name")
1530     '("const-gchar*" "first_property_name")
1531   )
1532   (varargs #t)
1533 )
1534
1535
1536
1537 ;; From empathy-cell-renderer-activatable.h
1538
1539 (define-function cell_renderer_activatable_get_type
1540   (c-name "empathy_cell_renderer_activatable_get_type")
1541   (return-type "GType")
1542 )
1543
1544 (define-function cell_renderer_activatable_new
1545   (c-name "empathy_cell_renderer_activatable_new")
1546   (is-constructor-of "EmpathyCellRendererActivatable")
1547   (return-type "GtkCellRenderer*")
1548 )
1549
1550
1551
1552 ;; From empathy-contact-widget.h
1553
1554 (define-method widget_new
1555   (of-object "EmpathyContact")
1556   (c-name "empathy_contact_widget_new")
1557   (return-type "GtkWidget*")
1558   (parameters
1559     '("EmpathyContactWidgetFlags" "flags")
1560   )
1561 )
1562
1563 (define-function contact_widget_get_contact
1564   (c-name "empathy_contact_widget_get_contact")
1565   (return-type "EmpathyContact*")
1566   (parameters
1567     '("GtkWidget*" "widget")
1568   )
1569 )
1570
1571 (define-function contact_widget_set_contact
1572   (c-name "empathy_contact_widget_set_contact")
1573   (return-type "none")
1574   (parameters
1575     '("GtkWidget*" "widget")
1576     '("EmpathyContact*" "contact")
1577   )
1578 )
1579
1580 (define-function contact_widget_set_account_filter
1581   (c-name "empathy_contact_widget_set_account_filter")
1582   (return-type "none")
1583   (parameters
1584     '("GtkWidget*" "widget")
1585     '("EmpathyAccountChooserFilterFunc" "filter")
1586     '("gpointer" "user_data")
1587   )
1588 )
1589
1590
1591
1592 ;; From empathy-profile-chooser.h
1593
1594 (define-function profile_chooser_new
1595   (c-name "empathy_profile_chooser_new")
1596   (is-constructor-of "EmpathyProfileChooser")
1597   (return-type "GtkWidget*")
1598 )
1599
1600 (define-function profile_chooser_get_selected
1601   (c-name "empathy_profile_chooser_get_selected")
1602   (return-type "McProfile*")
1603   (parameters
1604     '("GtkWidget*" "widget")
1605   )
1606 )
1607
1608 (define-function profile_chooser_n_profiles
1609   (c-name "empathy_profile_chooser_n_profiles")
1610   (return-type "gint")
1611   (parameters
1612     '("GtkWidget*" "widget")
1613   )
1614 )
1615
1616
1617
1618 ;; From empathy-cell-renderer-expander.h
1619
1620 (define-function cell_renderer_expander_get_type
1621   (c-name "empathy_cell_renderer_expander_get_type")
1622   (return-type "GType")
1623 )
1624
1625 (define-function cell_renderer_expander_new
1626   (c-name "empathy_cell_renderer_expander_new")
1627   (is-constructor-of "EmpathyCellRendererExpander")
1628   (return-type "GtkCellRenderer*")
1629 )
1630
1631
1632
1633 ;; From empathy-geometry.h
1634
1635 (define-function geometry_save
1636   (c-name "empathy_geometry_save")
1637   (return-type "none")
1638   (parameters
1639     '("const-gchar*" "name")
1640     '("gint" "x")
1641     '("gint" "y")
1642     '("gint" "w")
1643     '("gint" "h")
1644   )
1645 )
1646
1647 (define-function geometry_load
1648   (c-name "empathy_geometry_load")
1649   (return-type "none")
1650   (parameters
1651     '("const-gchar*" "name")
1652     '("gint*" "x")
1653     '("gint*" "y")
1654     '("gint*" "w")
1655     '("gint*" "h")
1656   )
1657 )
1658
1659
1660
1661 ;; From empathy-smiley-manager.h
1662
1663 (define-function smiley_manager_get_type
1664   (c-name "empathy_smiley_manager_get_type")
1665   (return-type "GType")
1666 )
1667
1668 (define-function smiley_manager_new
1669   (c-name "empathy_smiley_manager_new")
1670   (is-constructor-of "EmpathySmileyManager")
1671   (return-type "EmpathySmileyManager*")
1672 )
1673
1674 (define-method load
1675   (of-object "EmpathySmileyManager")
1676   (c-name "empathy_smiley_manager_load")
1677   (return-type "none")
1678 )
1679
1680 (define-method add
1681   (of-object "EmpathySmileyManager")
1682   (c-name "empathy_smiley_manager_add")
1683   (return-type "none")
1684   (parameters
1685     '("const-gchar*" "icon_name")
1686     '("const-gchar*" "first_str")
1687   )
1688   (varargs #t)
1689 )
1690
1691 (define-method add_from_pixbuf
1692   (of-object "EmpathySmileyManager")
1693   (c-name "empathy_smiley_manager_add_from_pixbuf")
1694   (return-type "none")
1695   (parameters
1696     '("GdkPixbuf*" "smiley")
1697     '("const-gchar*" "first_str")
1698   )
1699   (varargs #t)
1700 )
1701
1702 (define-method get_all
1703   (of-object "EmpathySmileyManager")
1704   (c-name "empathy_smiley_manager_get_all")
1705   (return-type "GSList*")
1706 )
1707
1708 (define-method parse
1709   (of-object "EmpathySmileyManager")
1710   (c-name "empathy_smiley_manager_parse")
1711   (return-type "GSList*")
1712   (parameters
1713     '("const-gchar*" "text")
1714   )
1715 )
1716
1717 (define-method free
1718   (of-object "EmpathySmiley")
1719   (c-name "empathy_smiley_free")
1720   (return-type "none")
1721 )
1722
1723
1724
1725 ;; From empathy-cell-renderer-text.h
1726
1727 (define-function cell_renderer_text_get_type
1728   (c-name "empathy_cell_renderer_text_get_type")
1729   (return-type "GType")
1730 )
1731
1732 (define-function cell_renderer_text_new
1733   (c-name "empathy_cell_renderer_text_new")
1734   (is-constructor-of "EmpathyCellRendererText")
1735   (return-type "GtkCellRenderer*")
1736 )
1737
1738
1739
1740 ;; From empathy-spell.h
1741
1742 (define-function spell_supported
1743   (c-name "empathy_spell_supported")
1744   (return-type "gboolean")
1745 )
1746
1747 (define-function spell_get_language_name
1748   (c-name "empathy_spell_get_language_name")
1749   (return-type "const-gchar*")
1750   (parameters
1751     '("const-gchar*" "code")
1752   )
1753 )
1754
1755 (define-function spell_get_language_codes
1756   (c-name "empathy_spell_get_language_codes")
1757   (return-type "GList*")
1758 )
1759
1760 (define-function spell_free_language_codes
1761   (c-name "empathy_spell_free_language_codes")
1762   (return-type "none")
1763   (parameters
1764     '("GList*" "codes")
1765   )
1766 )
1767
1768 (define-function spell_check
1769   (c-name "empathy_spell_check")
1770   (return-type "gboolean")
1771   (parameters
1772     '("const-gchar*" "word")
1773   )
1774 )
1775
1776 (define-function spell_get_suggestions
1777   (c-name "empathy_spell_get_suggestions")
1778   (return-type "GList*")
1779   (parameters
1780     '("const-gchar*" "word")
1781   )
1782 )
1783
1784 (define-function spell_free_suggestions
1785   (c-name "empathy_spell_free_suggestions")
1786   (return-type "none")
1787   (parameters
1788     '("GList*" "suggestions")
1789   )
1790 )
1791
1792
1793
1794 ;; From empathy-contact-menu.h
1795
1796 (define-method menu_new
1797   (of-object "EmpathyContact")
1798   (c-name "empathy_contact_menu_new")
1799   (return-type "GtkWidget*")
1800   (parameters
1801     '("EmpathyContactFeatureFlags" "features")
1802   )
1803 )
1804
1805 (define-method chat_menu_item_new
1806   (of-object "EmpathyContact")
1807   (c-name "empathy_contact_chat_menu_item_new")
1808   (return-type "GtkWidget*")
1809 )
1810
1811 (define-method call_menu_item_new
1812   (of-object "EmpathyContact")
1813   (c-name "empathy_contact_call_menu_item_new")
1814   (return-type "GtkWidget*")
1815 )
1816
1817 (define-method log_menu_item_new
1818   (of-object "EmpathyContact")
1819   (c-name "empathy_contact_log_menu_item_new")
1820   (return-type "GtkWidget*")
1821 )
1822
1823 (define-method info_menu_item_new
1824   (of-object "EmpathyContact")
1825   (c-name "empathy_contact_info_menu_item_new")
1826   (return-type "GtkWidget*")
1827 )
1828
1829 (define-method edit_menu_item_new
1830   (of-object "EmpathyContact")
1831   (c-name "empathy_contact_edit_menu_item_new")
1832   (return-type "GtkWidget*")
1833 )
1834
1835