aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-url-entry.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-11-15 06:04:21 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-11-15 06:04:21 +0800
commit9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (patch)
tree2e1e96f33404781354c422a7e9beaf458ebeb655 /widgets/misc/e-url-entry.c
parent7e8f8bb9e5167b0219b48ab3e8062080d3740b0a (diff)
downloadgsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.gz
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.zst
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.zip
** Remove trailing whitespace from source code.
2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
Diffstat (limited to 'widgets/misc/e-url-entry.c')
-rw-r--r--widgets/misc/e-url-entry.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/widgets/misc/e-url-entry.c b/widgets/misc/e-url-entry.c
index 59469cc6a0..1b921f07b0 100644
--- a/widgets/misc/e-url-entry.c
+++ b/widgets/misc/e-url-entry.c
@@ -83,7 +83,7 @@ class_init (EUrlEntryClass *klass)
widget_class = GTK_WIDGET_CLASS (klass);
parent_class = g_type_class_ref(gtk_hbox_get_type ());
-
+
object_class->destroy = destroy;
widget_class->mnemonic_activate = mnemonic_activate;
@@ -111,7 +111,7 @@ init (EUrlEntry *url_entry)
gtk_widget_show (priv->button);
gtk_widget_show (priv->entry);
-
+
g_signal_connect (priv->button, "clicked",
G_CALLBACK (button_clicked_cb), url_entry);
g_signal_connect (priv->entry, "changed",
@@ -122,7 +122,7 @@ static void
destroy (GtkObject *obj)
{
EUrlEntry *url_entry;
-
+
url_entry = E_URL_ENTRY (obj);
if (url_entry->priv) {
g_free (url_entry->priv);
@@ -158,12 +158,12 @@ GtkWidget *
e_url_entry_get_entry (EUrlEntry *url_entry)
{
EUrlEntryPrivate *priv;
-
+
g_return_val_if_fail (url_entry != NULL, NULL);
g_return_val_if_fail (E_IS_URL_ENTRY (url_entry), NULL);
priv = url_entry->priv;
-
+
return priv->entry;
}
@@ -185,10 +185,10 @@ entry_changed_cb (GtkEditable *editable, gpointer data)
EUrlEntry *url_entry;
EUrlEntryPrivate *priv;
const char *url;
-
+
url_entry = E_URL_ENTRY (data);
priv = url_entry->priv;
-
+
url = gtk_entry_get_text (GTK_ENTRY (priv->entry));
gtk_widget_set_sensitive (priv->button, url != NULL && *url != '\0');
}