Thu, 06 Aug 2020 22:22:03 -0500
pidgin.h phase3: create pidgin.h and force its usage
fix the section id of pidgincore.h
Generate our pidgin.h file
Add include guard to all pidgin/*.h files and deal with the fallout from that.
Also had to namespace PIDGIN_BLIST_COLUMN_NAME, will come back and get the rest at a later time.
Testing Done:
Compile test, including some plugins that don't build by default. Also ran everything seems fine.
Reviewed at https://reviews.imfreedom.org/r/50/
#if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION) # error "only <pidgin.h> may be included directly" #endif #ifndef PIDGIN_ABOUT_H #define PIDGIN_ABOUT_H /** * SECTION:pidginabout * @section_id: pidgin-about * @short_description: <filename>pidginabout.h</filename> * @title: About Dialog */ #include <gtk/gtk.h> G_BEGIN_DECLS #define PIDGIN_TYPE_ABOUT_DIALOG (pidgin_about_dialog_get_type()) G_DECLARE_FINAL_TYPE(PidginAboutDialog, pidgin_about_dialog, PIDGIN, ABOUT_DIALOG, GtkDialog) GtkWidget *pidgin_about_dialog_new(void); G_END_DECLS #endif /* PIDGIN_ABOUT_H */