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