diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-10-24 13:10:42 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-10-24 13:10:42 +0800 |
commit | d48348f3404f71dddfacfd348f035479d308dede (patch) | |
tree | 631e2e89b2219027735c10f9723f76ab6bd3e265 /widgets/misc | |
parent | 11f85495a9fb083e40ccc47c4ec533dbe6dea9e7 (diff) | |
download | gsoc2013-evolution-d48348f3404f71dddfacfd348f035479d308dede.tar gsoc2013-evolution-d48348f3404f71dddfacfd348f035479d308dede.tar.gz gsoc2013-evolution-d48348f3404f71dddfacfd348f035479d308dede.tar.bz2 gsoc2013-evolution-d48348f3404f71dddfacfd348f035479d308dede.tar.lz gsoc2013-evolution-d48348f3404f71dddfacfd348f035479d308dede.tar.xz gsoc2013-evolution-d48348f3404f71dddfacfd348f035479d308dede.tar.zst gsoc2013-evolution-d48348f3404f71dddfacfd348f035479d308dede.zip |
Coding style and whitespace cleanups.
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/e-buffer-tagger.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/misc/e-buffer-tagger.c b/widgets/misc/e-buffer-tagger.c index d0fd265230..248e1c004c 100644 --- a/widgets/misc/e-buffer-tagger.c +++ b/widgets/misc/e-buffer-tagger.c @@ -86,10 +86,10 @@ markup_text (GtkTextBuffer *buffer) { GtkTextIter start, end; gchar *text; - int i; + gint i; regmatch_t pmatch [2]; gboolean any; - const char *str; + const gchar *str; gint offset = 0; g_return_if_fail (buffer != NULL); @@ -378,7 +378,7 @@ textview_key_press_event (GtkWidget *text_view, GdkEventKey *event) return FALSE; switch (event->keyval) { - case GDK_Return: + case GDK_Return: case GDK_KP_Enter: buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (text_view)); gtk_text_buffer_get_iter_at_mark (buffer, &iter, gtk_text_buffer_get_insert (buffer)); @@ -497,7 +497,7 @@ textview_visibility_notify_event (GtkTextView *textview, GdkEventVisibility *eve gdk_window_get_pointer (gtk_text_view_get_window (textview, GTK_TEXT_WINDOW_WIDGET), &wx, &wy, NULL); - gtk_text_view_window_to_buffer_coords (textview, + gtk_text_view_window_to_buffer_coords (textview, GTK_TEXT_WINDOW_WIDGET, wx, wy, &bx, &by); @@ -524,7 +524,7 @@ e_buffer_tagger_connect (GtkTextView *textview) /* if tag is there already, then it is connected, thus claim */ g_return_if_fail (tag == NULL); - + gtk_text_buffer_create_tag (buffer, E_BUFFER_TAGGER_LINK_TAG, "foreground", "blue", "underline", PANGO_UNDERLINE_SINGLE, |