diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-01-31 00:32:55 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:29 +0800 |
commit | dbc22f9de50142b8339fa843575a5e15bd3fe8ff (patch) | |
tree | 6daf0c4fdc32fcde76c4529cbc6fdba4121c7242 /shell | |
parent | 726ac1a8bb57a7015d72022784ea7dec135ae1d5 (diff) | |
download | gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.tar gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.tar.gz gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.tar.bz2 gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.tar.lz gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.tar.xz gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.tar.zst gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.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); |