Changeset 385

Show
Ignore:
Timestamp:
05/25/06 16:34:05
Author:
pvanhoof
Message:

gtk-doc fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/autogen.sh

    r333 r385  
    2323### Dirty lil hack # 
    2424patch -fp0 < gtk-doc.make.distcheck.patch 
     25 
     26# TODO: Put this in a make target (stupid gtk-doc.make doesn't make this possible afaik) 
     27 
     28find $srcdir -type f -iname "*.h" -printf "#include <%f>\n" | grep -v "\-priv" | grep -v "\-test" | grep -v "config.h" | grep -v "tny-summary-window.h" | grep -v camel > docs/devel/reference/libtinymail.types 
     29echo >> docs/devel/reference/libtinymail.types 
     30find $srcdir -type f -iname "*.h" -exec grep get_type {} \; | grep -v define | grep -v _test | grep -v tny_summary_window | grep -v camel | cut -d " " -f 2- | cut -d "(" -f 1| sed s/\ //g >> docs/devel/reference/libtinymail.types 
  • trunk/docs/devel/reference/Makefile.am

    r384 r385  
    11## Process this file with automake to produce Makefile.in 
    2 if ENABLE_GTK_DOC 
    3 all: 
    4         find $(top_srcdir) -type f -iname "*.h" -printf "#include <%f>\n" > libtinymail.types 
    5         echo >> libtinymail.types 
    6         find $(top_srcdir) -type f -iname "*.h" -exec grep get_type {} \; | grep -v define | cut -d " " -f 2- | cut -d "(" -f 1| sed s/\ //g >> libtinymail.types 
    7         make all-local 
    8 endif 
    92 
    103# We require automake 1.6 at least. 
     
    8578        -I$(top_srcdir)/libtinymail-camel                               \ 
    8679        -I$(top_srcdir)/libtinymail-gnome-desktop                       \ 
    87         -I$(top_srcdir)/libtinymail-gnomevfs 
     80        -I$(top_srcdir)/libtinymail-gnomevfs                            \ 
     81        -I$(top_srcdir)/tinymail 
    8882 
    8983GTKDOC_LIBS= $(LIBTINYMAIL_LIBS) $(LIBTINYMAILUI_LIBS)                                          \ 
  • trunk/libtinymail-camel/tny-account.c

    r379 r385  
    554554        if (G_UNLIKELY (!camel_type_init_done)) 
    555555        { 
     556                if (!g_thread_supported ())  
     557                        g_thread_init (NULL); 
    556558                camel_type_init (); 
    557559                camel_type_init_done = TRUE; 
  • trunk/libtinymail-camel/tny-camel-stream.c

    r379 r385  
    156156        if (G_UNLIKELY (!camel_type_init_done)) 
    157157        { 
     158                if (!g_thread_supported ())  
     159                        g_thread_init (NULL); 
     160 
    158161                camel_type_init (); 
    159162                camel_type_init_done = TRUE; 
  • trunk/libtinymail-camel/tny-camel-stream.h

    r139 r385  
    4949}; 
    5050 
    51 CamelType        tny_account_get_type             (void); 
     51CamelType        tny_camel_stream_get_type        (void); 
    5252TnyCamelStream*  tny_camel_stream_new             (TnyStreamIface *stream); 
    5353void             tny_camel_stream_set_stream      (TnyCamelStream *self, TnyStreamIface *stream); 
  • trunk/libtinymail-camel/tny-msg-folder.c

    r380 r385  
    10471047        if (G_UNLIKELY (!camel_type_init_done)) 
    10481048        { 
     1049                if (!g_thread_supported ())  
     1050                        g_thread_init (NULL); 
     1051 
    10491052                camel_type_init (); 
    10501053                camel_type_init_done = TRUE; 
  • trunk/libtinymail-camel/tny-msg-header.c

    r380 r385  
    805805        if (G_UNLIKELY (!camel_type_init_done)) 
    806806        { 
     807                if (!g_thread_supported ())  
     808                        g_thread_init (NULL); 
     809 
    807810                camel_type_init (); 
    808811                camel_type_init_done = TRUE; 
  • trunk/libtinymail-camel/tny-msg-mime-part.c

    r380 r385  
    589589        if (G_UNLIKELY (!camel_type_init_done)) 
    590590        { 
     591                if (!g_thread_supported ())  
     592                        g_thread_init (NULL); 
     593 
    591594                camel_type_init (); 
    592595                camel_type_init_done = TRUE; 
  • trunk/libtinymail-camel/tny-msg.c

    r380 r385  
    478478        if (G_UNLIKELY (!camel_type_init_done)) 
    479479        { 
     480                if (!g_thread_supported ())  
     481                        g_thread_init (NULL); 
     482 
    480483                camel_type_init (); 
    481484                camel_type_init_done = TRUE; 
  • trunk/libtinymail-camel/tny-session-camel.c

    r380 r385  
    533533        if (G_UNLIKELY (!camel_type_init_done)) 
    534534        { 
     535                if (!g_thread_supported ())  
     536                        g_thread_init (NULL); 
     537 
    535538                camel_type_init (); 
    536539                camel_type_init_done = TRUE; 
  • trunk/libtinymail-camel/tny-store-account.c

    r380 r385  
    464464        if (G_UNLIKELY (!camel_type_init_done)) 
    465465        { 
     466                if (!g_thread_supported ())  
     467                        g_thread_init (NULL); 
     468 
    466469                camel_type_init (); 
    467470                camel_type_init_done = TRUE; 
  • trunk/libtinymail-camel/tny-stream-camel.c

    r379 r385  
    241241        if (G_UNLIKELY (!camel_type_init_done)) 
    242242        { 
     243                if (!g_thread_supported ())  
     244                        g_thread_init (NULL); 
     245 
    243246                camel_type_init (); 
    244247                camel_type_init_done = TRUE; 
  • trunk/libtinymail-camel/tny-transport-account.c

    r379 r385  
    193193        if (G_UNLIKELY (!camel_type_init_done)) 
    194194        { 
     195                if (!g_thread_supported ())  
     196                        g_thread_init (NULL); 
     197 
    195198                camel_type_init (); 
    196199                camel_type_init_done = TRUE;