pidgin/pidginabout.h

Thu, 06 Aug 2020 22:22:03 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 06 Aug 2020 22:22:03 -0500
changeset 40502
875489636847
parent 39855
7c9c4d700ed2
child 40530
ac5c0a85971e
permissions
-rw-r--r--

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 */

mercurial