mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
22ae9d0884
G_DECLARE_FINAL_TYPE was introduced in glib 2.44. We shall use that now so that lots of boilerplate code can be reduced. https://bugzilla.gnome.org/show_bug.cgi?id=770278
16 lines
376 B
C
16 lines
376 B
C
#ifndef __EXAMPLEAPPPREFS_H
|
|
#define __EXAMPLEAPPPREFS_H
|
|
|
|
#include <gtk/gtk.h>
|
|
#include "exampleappwin.h"
|
|
|
|
|
|
#define EXAMPLE_APP_PREFS_TYPE (example_app_prefs_get_type ())
|
|
G_DECLARE_FINAL_TYPE (ExampleAppPrefs, example_app_prefs, EXAMPLE, APP_PREFS, GtkDialog)
|
|
|
|
|
|
ExampleAppPrefs *example_app_prefs_new (ExampleAppWindow *win);
|
|
|
|
|
|
#endif /* __EXAMPLEAPPPREFS_H */
|