294702d3f1
Cut down on boilerplate by using the (no longer that) new helper macros. We don't care about breaking ABI in private libraries, so use G_DECLARE_FINAL_TYPE even where the class struct used to be exposed in the header, except for types we inherit from ourselves (obviously) or where the class exposes any vfuncs (where changes could affect inheritance in extensions).
20 lines
551 B
C
20 lines
551 B
C
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
#ifndef __SHELL_EMBEDDED_WINDOW_H__
|
|
#define __SHELL_EMBEDDED_WINDOW_H__
|
|
|
|
#include <gtk/gtk.h>
|
|
#include <clutter/clutter.h>
|
|
|
|
#define SHELL_TYPE_EMBEDDED_WINDOW (shell_embedded_window_get_type ())
|
|
G_DECLARE_DERIVABLE_TYPE (ShellEmbeddedWindow, shell_embedded_window,
|
|
SHELL, EMBEDDED_WINDOW, GtkWindow)
|
|
|
|
struct _ShellEmbeddedWindowClass
|
|
{
|
|
GtkWindowClass parent_class;
|
|
};
|
|
|
|
GtkWidget *shell_embedded_window_new (void);
|
|
|
|
#endif /* __SHELL_EMBEDDED_WINDOW_H__ */
|