Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
af0a7aea
Commit
af0a7aea
authored
Apr 09, 2010
by
Javier Jardón
Browse files
Use G_DEFINE_INTERFACE macro in gtkbuildable
https://bugzilla.gnome.org/show_bug.cgi?id=605186
parent
9f6e03f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
gtk/gtkbuildable.c
View file @
af0a7aea
...
...
@@ -25,18 +25,13 @@
#include
"gtkintl.h"
#include
"gtkalias.h"
GType
gtk_buildable_get_type
(
void
)
{
static
GType
buildable_type
=
0
;
if
(
!
buildable_type
)
buildable_type
=
g_type_register_static_simple
(
G_TYPE_INTERFACE
,
I_
(
"GtkBuildable"
),
sizeof
(
GtkBuildableIface
),
NULL
,
0
,
NULL
,
0
);
typedef
GtkBuildableIface
GtkBuildableInterface
;
G_DEFINE_INTERFACE
(
GtkBuildable
,
gtk_buildable
,
G_TYPE_OBJECT
)
return
buildable_type
;
static
void
gtk_buildable_default_init
(
GtkBuildableInterface
*
iface
)
{
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment