2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
+ * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
+ compilation time warnings.
+
+2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
+
* src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
the default value for HildonPannableArea::mov-mode to
HILDON_PANNABLE_AREA_MODE_VERT.
#include "hildon-button.h"
#include "hildon-enum-types.h"
#include "hildon-gtk.h"
+#include "hildon-helper.h"
G_DEFINE_TYPE (HildonButton, hildon_button, GTK_TYPE_BUTTON);
/* Pack everything */
if (arrangement == HILDON_BUTTON_ARRANGEMENT_VERTICAL) {
priv->label_box = gtk_vbox_new (FALSE, 0);
- hildon_helper_set_logical_font (priv->value, "SmallSystemFont");
+ hildon_helper_set_logical_font (GTK_WIDGET (priv->value), "SmallSystemFont");
} else {
priv->label_box = gtk_hbox_new (FALSE, 0);
}