Commit a0e5d7c8 authored by Umang Jain's avatar Umang Jain Committed by Debarshi Ray
Browse files

tool-filter-button: Use G_DECLARE_FINAL_TYPE

https://bugzilla.gnome.org/show_bug.cgi?id=763712
parent 28f33ece
......@@ -41,11 +41,6 @@ struct _PhotosToolFilterButton
gchar *label;
};
struct _PhotosToolFilterButtonClass
{
GtkBinClass parent_class;
};
enum
{
PROP_0,
......
......@@ -26,19 +26,7 @@
G_BEGIN_DECLS
#define PHOTOS_TYPE_TOOL_FILTER_BUTTON (photos_tool_filter_button_get_type ())
#define PHOTOS_TOOL_FILTER_BUTTON(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
PHOTOS_TYPE_TOOL_FILTER_BUTTON, PhotosToolFilterButton))
#define PHOTOS_IS_TOOL_FILTER_BUTTON(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
PHOTOS_TYPE_TOOL_FILTER_BUTTON))
typedef struct _PhotosToolFilterButton PhotosToolFilterButton;
typedef struct _PhotosToolFilterButtonClass PhotosToolFilterButtonClass;
GType photos_tool_filter_button_get_type (void) G_GNUC_CONST;
G_DECLARE_FINAL_TYPE (PhotosToolFilterButton, photos_tool_filter_button, PHOTOS, TOOL_FILTER_BUTTON, GtkBin);
GtkWidget *photos_tool_filter_button_new (GtkWidget *group_member,
const gchar *label);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment