diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-01-31 00:32:55 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-01-31 00:33:28 +0800 |
commit | 0109aa3a92b484ebb85c6481e5a8e39819b1f011 (patch) | |
tree | e7837b0a50517fc160a7b4d6d47f5c78a5505523 /shell | |
parent | f25d21294158625477c529a679fd2f27fffb562c (diff) | |
download | gsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.tar.gz gsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.tar.zst gsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.zip |
More whitespace cleanup.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/e-shell-content.c | 16 | ||||
-rw-r--r-- | shell/e-shell-sidebar.c | 8 |
2 files changed, 12 insertions, 12 deletions
diff --git a/shell/e-shell-content.c b/shell/e-shell-content.c index 586b706859..ccd121fa48 100644 --- a/shell/e-shell-content.c +++ b/shell/e-shell-content.c @@ -218,8 +218,8 @@ shell_content_get_preferred_width (GtkWidget *widget, gint *natural) { EShellContentPrivate *priv; - gint min, nat; - gint child_min, child_nat; + gint min, nat; + gint child_min, child_nat; GtkWidget *child; priv = E_SHELL_CONTENT_GET_PRIVATE (widget); @@ -227,8 +227,8 @@ shell_content_get_preferred_width (GtkWidget *widget, *minimum = *natural = 0; child = gtk_bin_get_child (GTK_BIN (widget)); - gtk_widget_get_preferred_width (child, &child_min, &child_nat); - gtk_widget_get_preferred_width (priv->alert_bar, &min, &nat); + gtk_widget_get_preferred_width (child, &child_min, &child_nat); + gtk_widget_get_preferred_width (priv->alert_bar, &min, &nat); *minimum = MAX (min, child_min); *natural = MAX (nat, child_nat); @@ -236,7 +236,7 @@ shell_content_get_preferred_width (GtkWidget *widget, if (priv->searchbar == NULL) return; - gtk_widget_get_preferred_width (priv->searchbar, &min, &nat); + gtk_widget_get_preferred_width (priv->searchbar, &min, &nat); *minimum = MAX (*minimum, min); *natural = MAX (*natural, nat); } @@ -247,7 +247,7 @@ shell_content_get_preferred_height (GtkWidget *widget, gint *natural) { EShellContentPrivate *priv; - gint min, nat; + gint min, nat; GtkWidget *child; priv = E_SHELL_CONTENT_GET_PRIVATE (widget); @@ -421,8 +421,8 @@ e_shell_content_class_init (EShellContentClass *class) object_class->constructed = shell_content_constructed; widget_class = GTK_WIDGET_CLASS (class); - widget_class->get_preferred_width = shell_content_get_preferred_width; - widget_class->get_preferred_height = shell_content_get_preferred_height; + widget_class->get_preferred_width = shell_content_get_preferred_width; + widget_class->get_preferred_height = shell_content_get_preferred_height; widget_class->size_allocate = shell_content_size_allocate; container_class = GTK_CONTAINER_CLASS (class); diff --git a/shell/e-shell-sidebar.c b/shell/e-shell-sidebar.c index 3860a498c4..3e60096fc8 100644 --- a/shell/e-shell-sidebar.c +++ b/shell/e-shell-sidebar.c @@ -230,7 +230,7 @@ shell_sidebar_get_preferred_width (GtkWidget *widget, priv = E_SHELL_SIDEBAR_GET_PRIVATE (widget); child = gtk_bin_get_child (GTK_BIN (widget)); - gtk_widget_get_preferred_width (child, minimum, natural); + gtk_widget_get_preferred_width (child, minimum, natural); /* do not use priv->event_box here, otherwise it'll not ellipsize */ } @@ -241,7 +241,7 @@ shell_sidebar_get_preferred_height (GtkWidget *widget, gint *natural) { EShellSidebarPrivate *priv; - gint child_min, child_nat; + gint child_min, child_nat; GtkWidget *child; priv = E_SHELL_SIDEBAR_GET_PRIVATE (widget); @@ -323,8 +323,8 @@ e_shell_sidebar_class_init (EShellSidebarClass *class) object_class->constructed = shell_sidebar_constructed; widget_class = GTK_WIDGET_CLASS (class); - widget_class->get_preferred_width = shell_sidebar_get_preferred_width; - widget_class->get_preferred_height = shell_sidebar_get_preferred_height; + widget_class->get_preferred_width = shell_sidebar_get_preferred_width; + widget_class->get_preferred_height = shell_sidebar_get_preferred_height; widget_class->size_allocate = shell_sidebar_size_allocate; container_class = GTK_CONTAINER_CLASS (class); |