diff options
author | Mukund Sivaraman <muks@banu.com> | 2012-01-23 17:39:05 +0530 |
---|---|---|
committer | Tomasz Sterna <tomek@xiaoka.com> | 2012-05-30 23:10:21 +0300 |
commit | 80d02c5eeda47e859ab839a19cafc528b57a5e52 (patch) | |
tree | fdb621115dc8402006b95f7dd9352330985b0308 /hildon/hildon-window.c | |
parent | 2603dde466c82ed60c41f9540a68f803d3510bf5 (diff) |
Port to GTK+ 3
Diffstat (limited to 'hildon/hildon-window.c')
-rw-r--r-- | hildon/hildon-window.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/hildon/hildon-window.c b/hildon/hildon-window.c index 78c1d74..5612c54 100644 --- a/hildon/hildon-window.c +++ b/hildon/hildon-window.c @@ -722,7 +722,7 @@ hildon_window_size_allocate (GtkWidget *widget, tb = priv->toolbar_borders; - gtk_widget_size_allocate (widget, allocation); + GTK_WIDGET_CLASS (hildon_window_parent_class)->size_allocate (widget, allocation); /* Calculate allocation of edit toolbar */ if (priv->edit_toolbar != NULL && gtk_widget_get_visible (priv->edit_toolbar)) @@ -1102,10 +1102,7 @@ static gboolean hildon_window_key_press_event (GtkWidget *widget, GdkEventKey *event) { - HildonWindowPrivate *priv = HILDON_WINDOW_GET_PRIVATE (widget); - g_return_val_if_fail (HILDON_IS_WINDOW (widget),FALSE); - g_assert (priv); switch (event->keyval) { |