diff options
author | Jasmine Hassan <[email protected]> | 2012-11-13 12:11:05 +0200 |
---|---|---|
committer | Jasmine Hassan <[email protected]> | 2012-11-16 09:45:52 +0200 |
commit | 079f01d120988b1b6549a0b815cd0fad65bdc424 (patch) | |
tree | 4b00f05e13379732bdd4516627ba536d17a0d025 | |
parent | dc5517f0b74d260129753417f7f36b06ef9f4121 (diff) | |
download | caja-079f01d120988b1b6549a0b815cd0fad65bdc424.tar.bz2 caja-079f01d120988b1b6549a0b815cd0fad65bdc424.tar.xz |
[KeepLastVerticalBox] Don't use eel-gtk-macros
-rw-r--r-- | libcaja-private/caja-keep-last-vertical-box.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libcaja-private/caja-keep-last-vertical-box.c b/libcaja-private/caja-keep-last-vertical-box.c index 51c709ce..212fcc93 100644 --- a/libcaja-private/caja-keep-last-vertical-box.c +++ b/libcaja-private/caja-keep-last-vertical-box.c @@ -26,14 +26,13 @@ #include <config.h> #include "caja-keep-last-vertical-box.h" -#include <eel/eel-gtk-macros.h> - static void caja_keep_last_vertical_box_class_init (CajaKeepLastVerticalBoxClass *class); static void caja_keep_last_vertical_box_init (CajaKeepLastVerticalBox *box); static void caja_keep_last_vertical_box_size_allocate (GtkWidget *widget, GtkAllocation *allocation); -EEL_CLASS_BOILERPLATE (CajaKeepLastVerticalBox, caja_keep_last_vertical_box, GTK_TYPE_VBOX) +G_DEFINE_TYPE (CajaKeepLastVerticalBox, caja_keep_last_vertical_box, GTK_TYPE_VBOX) +#define parent_class caja_keep_last_vertical_box_parent_class /* Standard class initialization function */ static void @@ -96,10 +95,10 @@ caja_keep_last_vertical_box_size_allocate (GtkWidget *widget, g_return_if_fail (CAJA_IS_KEEP_LAST_VERTICAL_BOX (widget)); g_return_if_fail (allocation != NULL); - EEL_CALL_PARENT (GTK_WIDGET_CLASS, size_allocate, (widget, allocation)); + GTK_WIDGET_CLASS (caja_keep_last_vertical_box_parent_class)->size_allocate (widget, allocation); box = GTK_BOX (widget); - children = gtk_container_get_children (GTK_CONTAINER(widget)); + children = gtk_container_get_children (GTK_CONTAINER (widget)); l = g_list_last (children); if (l != NULL) |