[easytag/wip/taglib-mp4-cxx] Add G_DECL boilerplate to picture.h



commit f3f6496c45513ed350853b18a9527a01eb8588d0
Author: Santtu Lakkala <inz inz fi>
Date:   Thu Apr 10 08:32:29 2014 +0300

    Add G_DECL boilerplate to picture.h
    
    The new taglib C++ reader needs to use picture.h from C++ source, add
    G_BEGIN_DECLS and G_END_DECLS for correct symbol naming.

 src/picture.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/picture.h b/src/picture.h
index 14224fd..caf5616 100644
--- a/src/picture.h
+++ b/src/picture.h
@@ -24,6 +24,7 @@
 
 #include "et_core.h"
 
+G_BEGIN_DECLS
 
 /***************
  * Declaration *
@@ -126,5 +127,6 @@ const gchar   *Picture_Mime_Type_String (Picture_Format format);
 gboolean Picture_Entry_View_Button_Pressed (GtkTreeView *treeview, GdkEventButton *event, gpointer data);
 gboolean Picture_Entry_View_Key_Pressed    (GtkTreeView *treeview, GdkEvent *event, gpointer data);
 
+G_END_DECLS
 
 #endif /* __PICTURE_H__ */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]