Changeset 1862
- Timestamp:
- 04/29/07 13:44:26
- Files:
-
- trunk/docs/devel/reference/tmpl/mozilla-preferences.sgml (modified) (1 diff)
- trunk/docs/devel/reference/tmpl/tny-camel-shared.sgml (modified) (1 diff)
- trunk/docs/devel/reference/tmpl/tny-enums.sgml (modified) (1 diff)
- trunk/libtinymail-camel/tny-camel-account.c (modified) (1 diff)
- trunk/libtinymail-camel/tny-camel-folder.c (modified) (2 diffs)
- trunk/libtinymail-camel/tny-camel-header.c (modified) (2 diffs)
- trunk/libtinymail-camel/tny-camel-imap-folder.c (modified) (2 diffs)
- trunk/libtinymail-camel/tny-camel-imap-store-account.c (modified) (2 diffs)
- trunk/libtinymail-camel/tny-camel-mime-part.c (modified) (4 diffs)
- trunk/libtinymail-camel/tny-camel-msg-header.c (modified) (2 diffs)
- trunk/libtinymail-camel/tny-camel-msg.c (modified) (2 diffs)
- trunk/libtinymail-camel/tny-camel-nntp-folder.c (modified) (2 diffs)
- trunk/libtinymail-camel/tny-camel-nntp-store-account.c (modified) (3 diffs)
- trunk/libtinymail-camel/tny-camel-pop-folder.c (modified) (2 diffs)
- trunk/libtinymail-camel/tny-camel-pop-store-account.c (modified) (3 diffs)
- trunk/libtinymail-camel/tny-camel-send-queue.c (modified) (7 diffs)
- trunk/libtinymail-camel/tny-camel-shared.h (modified) (1 diff)
- trunk/libtinymail-camel/tny-camel-store-account.c (modified) (4 diffs)
- trunk/libtinymail-camel/tny-camel-stream.c (modified) (4 diffs)
- trunk/libtinymail-camel/tny-camel-transport-account.c (modified) (3 diffs)
- trunk/libtinymail-camel/tny-session-camel.c (modified) (2 diffs)
- trunk/libtinymail-camel/tny-stream-camel.c (modified) (3 diffs)
- trunk/libtinymail-gnome-desktop/tny-gnome-account-store.c (modified) (1 diff)
- trunk/libtinymail/tny-account.c (modified) (2 diffs)
- trunk/libtinymail/tny-enums.h (modified) (1 diff)
- trunk/libtinymail/tny-folder-store-change.c (modified) (1 diff)
- trunk/libtinymail/tny-folder-store-query.c (modified) (1 diff)
- trunk/libtinymail/tny-status.c (modified) (2 diffs)
- trunk/libtinymail/tny-store-account.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-attachment-mime-part-view.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-folder-store-tree-model.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-header-list-model.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-header-view.c (modified) (1 diff)
- trunk/libtinymailui-gtk/tny-gtk-msg-view.c (modified) (1 diff)
- trunk/libtinymailui-mozembed/mozilla-preferences.cpp (modified) (3 diffs)
- trunk/libtinymailui-mozembed/mozilla-preferences.h (modified) (1 diff)
- trunk/libtinymailui-mozembed/tny-moz-embed-html-mime-part-view.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/docs/devel/reference/tmpl/mozilla-preferences.sgml
r1200 r1862 18 18 19 19 20 <!-- ##### FUNCTION mozilla_preference_set ##### -->21 <para>22 23 </para>24 25 @preference_name:26 @new_value:27 @Returns:28 29 30 <!-- ##### FUNCTION mozilla_preference_set_boolean ##### -->31 <para>32 33 </para>34 35 @preference_name:36 @new_boolean_value:37 @Returns:38 39 40 <!-- ##### FUNCTION mozilla_preference_set_int ##### -->41 <para>42 43 </para>44 45 @preference_name:46 @new_int_value:47 @Returns:48 49 trunk/docs/devel/reference/tmpl/tny-camel-shared.sgml
r1412 r1862 16 16 17 17 <!-- ##### SECTION Stability_Level ##### --> 18 19 20 <!-- ##### VARIABLE camel_type_init_done ##### -->21 <para>22 23 </para>24 18 25 19 trunk/docs/devel/reference/tmpl/tny-enums.sgml
r1854 r1862 169 169 @TNY_HEADER_FLAG_CACHED: The message is cached 170 170 @TNY_HEADER_FLAG_PARTIAL: The message is retrieved partially 171 @TNY_HEADER_FLAG_EXPUNGED: 171 @TNY_HEADER_FLAG_EXPUNGED: The message got expunged and therefore is the header instance invalid 172 @TNY_HEADER_FLAG_PRIORITY: Priority information is available, use the TnyHeaderPriorityFlags type as mask 172 173 173 174 <!-- ##### ENUM TnyFolderType ##### --> trunk/libtinymail-camel/tny-camel-account.c
r1718 r1862 1047 1047 static GType type = 0; 1048 1048 1049 if (G_UNLIKELY (! camel_type_init_done))1049 if (G_UNLIKELY (!_camel_type_init_done)) 1050 1050 { 1051 1051 if (!g_thread_supported ()) 1052 1052 g_thread_init (NULL); 1053 1053 camel_type_init (); 1054 camel_type_init_done = TRUE;1054 _camel_type_init_done = TRUE; 1055 1055 } 1056 1056 trunk/libtinymail-camel/tny-camel-folder.c
r1847 r1862 3289 3289 static GType type = 0; 3290 3290 3291 if (G_UNLIKELY (! camel_type_init_done))3291 if (G_UNLIKELY (!_camel_type_init_done)) 3292 3292 { 3293 3293 if (!g_thread_supported ()) … … 3295 3295 3296 3296 camel_type_init (); 3297 camel_type_init_done = TRUE;3297 _camel_type_init_done = TRUE; 3298 3298 } 3299 3299 trunk/libtinymail-camel/tny-camel-header.c
r1762 r1862 392 392 static GType type = 0; 393 393 394 if (G_UNLIKELY (! camel_type_init_done))394 if (G_UNLIKELY (!_camel_type_init_done)) 395 395 { 396 396 if (!g_thread_supported ()) … … 398 398 399 399 camel_type_init (); 400 camel_type_init_done = TRUE;400 _camel_type_init_done = TRUE; 401 401 } 402 402 trunk/libtinymail-camel/tny-camel-imap-folder.c
r1691 r1862 92 92 static GType type = 0; 93 93 94 if (G_UNLIKELY (! camel_type_init_done))94 if (G_UNLIKELY (!_camel_type_init_done)) 95 95 { 96 96 if (!g_thread_supported ()) … … 98 98 99 99 camel_type_init (); 100 camel_type_init_done = TRUE;100 _camel_type_init_done = TRUE; 101 101 } 102 102 trunk/libtinymail-camel/tny-camel-imap-store-account.c
r1858 r1862 146 146 static GType type = 0; 147 147 148 if (G_UNLIKELY (! camel_type_init_done))148 if (G_UNLIKELY (!_camel_type_init_done)) 149 149 { 150 150 if (!g_thread_supported ()) … … 152 152 153 153 camel_type_init (); 154 camel_type_init_done = TRUE;154 _camel_type_init_done = TRUE; 155 155 } 156 156 trunk/libtinymail-camel/tny-camel-mime-part.c
r1700 r1862 821 821 * tny_camel_mime_part_new: 822 822 * 823 * Create a new MIME part instance 824 * 823 825 * Return value: A new #TnyMimePart instance implemented for Camel 824 826 **/ … … 837 839 /** 838 840 * tny_camel_mime_part_new_with_part: 841 * @part: a #CamelMimePart object 839 842 * 840 * The #TnyMimePart implementation is actually a proxy for #CamelMimePart.843 * Create a new MIME part instance that is a proxy for a #CamelMimePart one 841 844 * 842 845 * Return value: A new #TnyMimePart instance implemented for Camel … … 936 939 static GType type = 0; 937 940 938 if (G_UNLIKELY (! camel_type_init_done))941 if (G_UNLIKELY (!_camel_type_init_done)) 939 942 { 940 943 if (!g_thread_supported ()) … … 942 945 943 946 camel_type_init (); 944 camel_type_init_done = TRUE;947 _camel_type_init_done = TRUE; 945 948 } 946 949 trunk/libtinymail-camel/tny-camel-msg-header.c
r1700 r1862 415 415 static GType type = 0; 416 416 417 if (G_UNLIKELY (! camel_type_init_done))417 if (G_UNLIKELY (!_camel_type_init_done)) 418 418 { 419 419 if (!g_thread_supported ()) … … 421 421 422 422 camel_type_init (); 423 camel_type_init_done = TRUE;423 _camel_type_init_done = TRUE; 424 424 } 425 425 trunk/libtinymail-camel/tny-camel-msg.c
r1717 r1862 335 335 static GType type = 0; 336 336 337 if (G_UNLIKELY (! camel_type_init_done))337 if (G_UNLIKELY (!_camel_type_init_done)) 338 338 { 339 339 if (!g_thread_supported ()) … … 341 341 342 342 camel_type_init (); 343 camel_type_init_done = TRUE;343 _camel_type_init_done = TRUE; 344 344 } 345 345 trunk/libtinymail-camel/tny-camel-nntp-folder.c
r1693 r1862 128 128 static GType type = 0; 129 129 130 if (G_UNLIKELY (! camel_type_init_done))130 if (G_UNLIKELY (!_camel_type_init_done)) 131 131 { 132 132 if (!g_thread_supported ()) … … 134 134 135 135 camel_type_init (); 136 camel_type_init_done = TRUE;136 _camel_type_init_done = TRUE; 137 137 } 138 138 trunk/libtinymail-camel/tny-camel-nntp-store-account.c
r1692 r1862 115 115 * tny_camel_nntp_store_account_new: 116 116 * 117 * Create a new NNTP #TnyStoreAccount instance implemented for Camel 117 118 * 118 119 * Return value: A new NNTP #TnyStoreAccount instance implemented for Camel … … 170 171 static GType type = 0; 171 172 172 if (G_UNLIKELY (! camel_type_init_done))173 if (G_UNLIKELY (!_camel_type_init_done)) 173 174 { 174 175 if (!g_thread_supported ()) … … 176 177 177 178 camel_type_init (); 178 camel_type_init_done = TRUE;179 _camel_type_init_done = TRUE; 179 180 } 180 181 trunk/libtinymail-camel/tny-camel-pop-folder.c
r1693 r1862 130 130 static GType type = 0; 131 131 132 if (G_UNLIKELY (! camel_type_init_done))132 if (G_UNLIKELY (!_camel_type_init_done)) 133 133 { 134 134 if (!g_thread_supported ()) … … 136 136 137 137 camel_type_init (); 138 camel_type_init_done = TRUE;138 _camel_type_init_done = TRUE; 139 139 } 140 140 trunk/libtinymail-camel/tny-camel-pop-store-account.c
r1691 r1862 111 111 * tny_camel_pop_store_account_new: 112 112 * 113 * Create a new POP #TnyStoreAccount instance implemented for Camel 113 114 * 114 115 * Return value: A new POP #TnyStoreAccount instance implemented for Camel … … 212 213 static GType type = 0; 213 214 214 if (G_UNLIKELY (! camel_type_init_done))215 if (G_UNLIKELY (!_camel_type_init_done)) 215 216 { 216 217 if (!g_thread_supported ()) … … 218 219 219 220 camel_type_init (); 220 camel_type_init_done = TRUE;221 _camel_type_init_done = TRUE; 221 222 } 222 223 trunk/libtinymail-camel/tny-camel-send-queue.c
r1817 r1862 519 519 * @trans_account: A #TnyCamelTransportAccount instance 520 520 * 521 * Create a new #TnySendQueue instance implemented for Camel 521 522 * 522 523 * Return value: A new #TnySendQueue instance implemented for Camel … … 546 547 void 547 548 tny_camel_send_queue_set_transport_account (TnyCamelSendQueue *self, 548 TnyCamelTransportAccount * acc)549 TnyCamelTransportAccount *trans_account) 549 550 { 550 551 TnyCamelSendQueuePriv *priv; 551 552 552 553 g_return_if_fail (TNY_IS_CAMEL_SEND_QUEUE(self)); 553 g_return_if_fail (TNY_IS_CAMEL_TRANSPORT_ACCOUNT( acc));554 g_return_if_fail (TNY_IS_CAMEL_TRANSPORT_ACCOUNT(trans_account)); 554 555 555 556 priv = TNY_CAMEL_SEND_QUEUE_GET_PRIVATE (self); … … 557 558 g_object_unref (G_OBJECT(priv->trans_account)); 558 559 559 priv->trans_account = TNY_TRANSPORT_ACCOUNT (g_object_ref(G_OBJECT( acc)));560 priv->trans_account = TNY_TRANSPORT_ACCOUNT (g_object_ref(G_OBJECT(trans_account))); 560 561 } 561 562 … … 564 565 * @self: a valid #TnyCamelSendQueue instance 565 566 * 566 * get the transport account for this send queue.567 * 568 * Return value: A #TnyCamelTransportAccount instance or NULL; unref it569 * when you no longer need it.567 * Get the transport account for this send queue. If not NULL, the returned value 568 * must be unreferences when no longer needed. 569 * 570 * Return value: A #TnyCamelTransportAccount instance or NULL 570 571 **/ 571 572 TnyCamelTransportAccount* … … 586 587 587 588 /** 588 * tny_camel_send_queue_ new:589 * tny_camel_send_queue_flush: 589 590 * @self: a valid #TnyCamelSendQueue instance 590 591 * … … 679 680 static GType type = 0; 680 681 681 if (G_UNLIKELY (! camel_type_init_done))682 if (G_UNLIKELY (!_camel_type_init_done)) 682 683 { 683 684 if (!g_thread_supported ()) … … 685 686 686 687 camel_type_init (); 687 camel_type_init_done = TRUE;688 _camel_type_init_done = TRUE; 688 689 } 689 690 trunk/libtinymail-camel/tny-camel-shared.h
r900 r1862 23 23 #include <tny-shared.h> 24 24 25 extern gboolean camel_type_init_done;25 extern gboolean _camel_type_init_done; 26 26 27 27 typedef struct _TnySessionCamel TnySessionCamel; trunk/libtinymail-camel/tny-camel-store-account.c
r1753 r1862 309 309 * tny_camel_store_account_new: 310 310 * 311 * Create a new #TnyStoreAccount instance implemented for Camel 311 312 * 312 313 * Return value: A new #TnyStoreAccount instance implemented for Camel … … 580 581 } 581 582 583 /** 584 * tny_camel_store_account_factor_folder: 585 * @self: a valid #TnyCamelStoreAccount instance 586 * @full_name: the name of the folder to create 587 * @was_new: whether or not a new instance got created (by reference) 588 * 589 * Factor a new TnyFolder instance. It's possible that an existing one is reused 590 * In that case will a reference be added to the instance. If an existing 591 * instance was not available, a new one will be created and remembered for in 592 * case a new request happens. 593 * 594 * Return value: A #TnyCamelTransportAccount instance or NULL 595 **/ 582 596 TnyFolder * 583 597 tny_camel_store_account_factor_folder (TnyCamelStoreAccount *self, const gchar *full_name, gboolean *was_new) … … 1043 1057 static GType type = 0; 1044 1058 1045 if (G_UNLIKELY (! camel_type_init_done))1059 if (G_UNLIKELY (!_camel_type_init_done)) 1046 1060 { 1047 1061 if (!g_thread_supported ()) … … 1049 1063 1050 1064 camel_type_init (); 1051 camel_type_init_done = TRUE;1065 _camel_type_init_done = TRUE; 1052 1066 } 1053 1067 trunk/libtinymail-camel/tny-camel-stream.c
r1347 r1862 136 136 * The returned value must be unreferenced 137 137 * 138 * Return : the stream to play proxy for138 * Return value: the stream to play proxy for 139 139 **/ 140 140 CamelStream * … … 166 166 * @stream: A #CamelStream stream to play proxy for 167 167 * 168 * Create a new #TnyStream instance implemented as a proxy 169 * for a #CamelStream 170 * 168 171 * Return value: A new #TnyStream instance implemented as a proxy 169 172 * for a #CamelStream … … 242 245 static GType type = 0; 243 246 244 if (G_UNLIKELY (! camel_type_init_done))247 if (G_UNLIKELY (!_camel_type_init_done)) 245 248 { 246 249 if (!g_thread_supported ()) … … 248 251 249 252 camel_type_init (); 250 camel_type_init_done = TRUE;253 _camel_type_init_done = TRUE; 251 254 } 252 255 trunk/libtinymail-camel/tny-camel-transport-account.c
r1799 r1862 341 341 * tny_camel_transport_account_new: 342 342 * 343 * 343 * Create a new #TnyTransportAccount instance implemented for Camel 344 * 344 345 * Return value: A new #TnyTransportAccount instance implemented for Camel 345 346 **/ … … 415 416 static GType type = 0; 416 417 417 if (G_UNLIKELY (! camel_type_init_done))418 if (G_UNLIKELY (!_camel_type_init_done)) 418 419 { 419 420 if (!g_thread_supported ()) … … 421 422 422 423 camel_type_init (); 423 camel_type_init_done = TRUE;424 _camel_type_init_done = TRUE; 424 425 } 425 426 trunk/libtinymail-camel/tny-session-camel.c
r1858 r1862 52 52 #include <tny-camel-shared.h> 53 53 54 gboolean camel_type_init_done = FALSE;54 gboolean _camel_type_init_done = FALSE; 55 55 56 56 static CamelSessionClass *ms_parent_class; … … 662 662 static CamelType tny_session_camel_type = CAMEL_INVALID_TYPE; 663 663 664 if (G_UNLIKELY (! camel_type_init_done))664 if (G_UNLIKELY (!_camel_type_init_done)) 665 665 { 666 666 if (!g_thread_supported ()) 667 667 g_thread_init (NULL); 668 668 camel_type_init (); 669 camel_type_init_done = TRUE;669 _camel_type_init_done = TRUE; 670 670 } 671 671 trunk/libtinymail-camel/tny-stream-camel.c
r966 r1862 154 154 static CamelType type = CAMEL_INVALID_TYPE; 155 155 156 if (G_UNLIKELY (! camel_type_init_done))156 if (G_UNLIKELY (!_camel_type_init_done)) 157 157 { 158 158 if (!g_thread_supported ()) … … 160 160 161 161 camel_type_init (); 162 camel_type_init_done = TRUE;162 _camel_type_init_done = TRUE; 163 163 } 164 164 … … 206 206 * @stream: A #TnyStream stream to play proxy for 207 207 * 208 * Create a new #CamelStream instance implemented as a proxy 209 * for a #TnyStream 210 * 208 211 * Return value: A new #CamelStream instance implemented as a proxy 209 212 * for a #TnyStream trunk/libtinymail-gnome-desktop/tny-gnome-account-store.c
r1858 r1862 443 443 /* 444 444 gconftool-2 -s /apps/tinymail/cache_dir -t string .tinymail 445 446 445 gconftool-2 -s /apps/tinymail/accounts/count -t int COUNT 447 446 gconftool-2 -s /apps/tinymail/accounts/0/proto -t string [smtp|imap|pop] 448 447 gconftool-2 -s /apps/tinymail/accounts/0/type -t string [transport|store] 449 450 448 gconftool-2 -s /apps/tinymail/accounts/0/user -t string username 451 449 gconftool-2 -s /apps/tinymail/accounts/0/hostname -t string mailserver trunk/libtinymail/tny-account.c
r1855 r1862 329 329 * @self: a #TnyAccount object 330 330 * 331 * Get a pointer to the forget-password function 332 * 331 333 * Return value: A pointer to the forget-password function 332 *333 334 **/ 334 335 TnyForgetPassFunc … … 778 779 * @self: a #TnyAccount object 779 780 * 781 * Get a pointer to the get-password function 782 * 780 783 * Return value: A pointer to the get-password function 781 *782 784 **/ 783 785 TnyGetPassFunc trunk/libtinymail/tny-enums.h
r1827 r1862 115 115 TNY_HEADER_FLAG_CACHED = 1<<6, 116 116 TNY_HEADER_FLAG_PARTIAL = 1<<7, 117 TNY_HEADER_FLAG_EXPUNGED = 1<<8 117 TNY_HEADER_FLAG_EXPUNGED = 1<<8, 118 TNY_HEADER_FLAG_PRIORITY = 1<<9|1<<10 118 119 } TnyHeaderFlags; 120 121 122 typedef enum { 123 TNY_HEADER_FLAG_HIGH_PRIORITY = 1<<9|1<<10, 124 TNY_HEADER_FLAG_NORMAL_PRIORITY = 0<<9|0<<10, 125 TNY_HEADER_FLAG_LOW_PRIORITY = 0<<9|1<<10 126 } TnyHeaderPriorityFlags; 119 127 120 128 typedef enum { trunk/libtinymail/tny-folder-store-change.c
r1856 r1862 44 44 * 45 45 * Get an enum with all the changed things 46 * 47 * Return value: An enum with all the changed things 46 48 **/ 47 49 TnyFolderStoreChangeChanged trunk/libtinymail/tny-folder-store-query.c
r1727 r1862 32 32 * tny_folder_store_query_new: 33 33 * 34 * Return value: a new #TnyFolderStoreQuery instance 35 * 34 * Create a new #TnyFolderStoreQuery instance 35 * 36 * Return value: A new #TnyFolderStoreQuery instance 36 37 **/ 37 38 TnyFolderStoreQuery* trunk/libtinymail/tny-status.c
r1858 r1862 54 54 /** 55 55 * tny_status_set_fraction: 56 * @status: a #TnyStatus instance 56 57 * @fraction: the fraction to set 57 58 * … … 69 70 /** 70 71 * tny_status_get_fraction: 72 * @status: a #TnyStatus instance 71 73 * 72 74 * Get the fraction of @status trunk/libtinymail/tny-store-account.c
r1737 r1862 34 34 * @self: a #TnyStoreAccount object 35 35 * @url_string: the url-string of the folder to find 36 * @err: a #GError object 36 37 * 37 38 * Try to find the folder in @self that corresponds to @url_string. If this trunk/libtinymailui-gtk/tny-gtk-attachment-mime-part-view.c
r1204 r1862 121 121 * tny_gtk_attachment_mime_part_view_new: 122 122 * @iview: A #TnyGtkAttachListModel instance 123 * 123 * 124 * Create a new #TnyMimePartView instance implemented for Gtk+ 125 * 124 126 * Return value: a new #TnyMimePartView instance implemented for Gtk+ 125 127 **/ trunk/libtinymailui-gtk/tny-gtk-folder-store-tree-model.c
r1845 r1862 258 258 * @query: the #TnyFolderStoreQuery that will be used to retrieve the folders of each folder_store 259 259 * 260 * Create a new #GtkTreeModel instance suitable for showing 261 * #TnyFolderStore instances 262 * 260 263 * Return value: a new #GtkTreeModel instance suitable for showing 261 264 * #TnyFolderStore instances trunk/libtinymailui-gtk/tny-gtk-header-list-model.c
r1793 r1862 809 809 * tny_gtk_header_list_model_new: 810 810 * 811 * Create a new #GtkTreeModel instance suitable for showing lots of 812 * #TnyHeader instances 811 813 * 812 814 * Return value: a new #GtkTreeModel instance suitable for showing lots of trunk/libtinymailui-gtk/tny-gtk-header-view.c
r1477 r1862 130 130 /** 131 131 * tny_gtk_header_view_new: 132 * 133 * Create a new #TnyHeaderView instance implemented for Gtk+ 132 134 * 133 135 * Return value: a new #TnyHeaderView instance implemented for Gtk+ trunk/libtinymailui-gtk/tny-gtk-msg-view.c
r1858 r1862 675 675 /** 676 676 * tny_gtk_msg_view_new: 677 * 678 * Create a new #TnyMsgView instance implemented for Gtk+ 677 679 * 678 680 * Return value: a new #TnyMsgView instance implemented for Gtk+ trunk/libtinymailui-mozembed/mozilla-preferences.cpp
r1172 r1862 30 30 31 31 extern "C" gboolean 32 mozilla_preference_set (const char *preference_name, const char *new_value)32 _mozilla_preference_set (const char *preference_name, const char *new_value) 33 33 { 34 34 g_return_val_if_fail (preference_name != NULL, FALSE); … … 48 48 49 49 extern "C" gboolean 50 mozilla_preference_set_boolean (const char *preference_name, gboolean new_boolean_value)50 _mozilla_preference_set_boolean (const char *preference_name, gboolean new_boolean_value) 51 51 { 52 52 g_return_val_if_fail (preference_name != NULL, FALSE); … … 66 66 67 67 extern "C" gboolean 68 mozilla_preference_set_int (const char *preference_name, gint new_int_value)68 _mozilla_preference_set_int (const char *preference_name, gint new_int_value) 69 69 { 70 70 g_return_val_if_fail (preference_name != NULL, FALSE); trunk/libtinymailui-mozembed/mozilla-preferences.h
r1172 r1862 25 25 G_BEGIN_DECLS 26 26 27 gboolean mozilla_preference_set (const char *preference_name, const char *new_value);28 gboolean mozilla_preference_set_boolean (const char *preference_name, gboolean new_boolean_value);29 gboolean mozilla_preference_set_int (const char *preference_name, gint new_int_value);27 gboolean _mozilla_preference_set (const char *preference_name, const char *new_value); 28 gboolean _mozilla_preference_set_boolean (const char *preference_name, gboolean new_boolean_value); 29 gboolean _mozilla_preference_set_int (const char *preference_name, gint new_int_value); 30 30 31 31 G_END_DECLS trunk/libtinymailui-mozembed/tny-moz-embed-html-mime-part-view.c
r1858 r1862 194 194 gtk_moz_embed_push_startup (); 195 195 196 mozilla_preference_set_int ("permissions.default.image", 2);197 mozilla_preference_set_int ("permissions.default.script", 2);198 mozilla_preference_set_boolean ("security.checkloaduri", FALSE);199 mozilla_preference_set ("general.useragent.misc", "Tinymail/" VERSION);200 mozilla_preference_set ("network.proxy.no_proxies_on", "localhost");196 _mozilla_preference_set_int ("permissions.default.image", 2); 197 _mozilla_preference_set_int ("permissions.default.script", 2); 198 _mozilla_preference_set_boolean ("security.checkloaduri", FALSE); 199 _mozilla_preference_set ("general.useragent.misc", "Tinymail/" VERSION); 200 _mozilla_preference_set ("network.proxy.no_proxies_on", "localhost"); 201 201 202 202
