 22ae9d0884
			
		
	
	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
		
			
				
	
	
		
			15 lines
		
	
	
		
			278 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			278 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef __EXAMPLEAPP_H
 | |
| #define __EXAMPLEAPP_H
 | |
| 
 | |
| #include <gtk/gtk.h>
 | |
| 
 | |
| 
 | |
| #define EXAMPLE_APP_TYPE (example_app_get_type ())
 | |
| G_DECLARE_FINAL_TYPE (ExampleApp, example_app, EXAMPLE, APP, GtkApplication)
 | |
| 
 | |
| 
 | |
| ExampleApp     *example_app_new         (void);
 | |
| 
 | |
| 
 | |
| #endif /* __EXAMPLEAPP_H */
 |