diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-09-12 02:56:28 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-09-13 20:28:58 +0800 |
commit | cd53ba990035bdb4861d9660917d457533d4ecb2 (patch) | |
tree | d9c9da2208f4a921c514497ea92d27e3d88481d1 /plugins/audio-inline/audio-inline.c | |
parent | b2b27cfa1bfcd6efdac30d2745a6e8cd4e6de134 (diff) | |
download | gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar.gz gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar.zst gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.zip |
Coding style cleanups.
Diffstat (limited to 'plugins/audio-inline/audio-inline.c')
-rw-r--r-- | plugins/audio-inline/audio-inline.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/audio-inline/audio-inline.c b/plugins/audio-inline/audio-inline.c index 46f345974f..994e25b267 100644 --- a/plugins/audio-inline/audio-inline.c +++ b/plugins/audio-inline/audio-inline.c @@ -164,7 +164,7 @@ org_gnome_audio_inline_gst_callback (GstBus * bus, GstMessage * message, gpointe { GstState old_state, new_state; - if (GST_MESSAGE_SRC(message) != GST_OBJECT (po->playbin)) + if (GST_MESSAGE_SRC (message) != GST_OBJECT (po->playbin)) break; gst_message_parse_state_changed (message, &old_state, &new_state, NULL); @@ -231,7 +231,7 @@ org_gnome_audio_inline_play_clicked (GtkWidget *button, EMFormatHTMLPObject *pob uri = g_filename_to_uri (po->filename, NULL, NULL); g_object_set (G_OBJECT (po->playbin), "uri", uri, NULL); g_free (uri); - org_gnome_audio_inline_set_audiosink(po->playbin); + org_gnome_audio_inline_set_audiosink (po->playbin); bus = gst_element_get_bus (po->playbin); po->bus_id = gst_bus_add_watch (bus, org_gnome_audio_inline_gst_callback, po); @@ -260,7 +260,7 @@ org_gnome_audio_inline_add_button (GtkWidget *box, const gchar *stock_icon, GCal { GtkWidget *button; - button = gtk_button_new_from_stock(stock_icon); + button = gtk_button_new_from_stock (stock_icon); gtk_widget_set_sensitive (button, sensitive); g_signal_connect (button, "clicked", cb, data); @@ -299,7 +299,7 @@ org_gnome_audio_inline_format (gpointer ep, EMFormatHookTarget *t) d(printf ("audio inline formatter: format classid %s\n", classid)); - pobj = (struct _org_gnome_audio_inline_pobject *) em_format_html_add_pobject ((EMFormatHTML *) t->format, sizeof(*pobj), classid, + pobj = (struct _org_gnome_audio_inline_pobject *) em_format_html_add_pobject ((EMFormatHTML *) t->format, sizeof (*pobj), classid, t->part, org_gnome_audio_inline_button_panel); g_object_ref (t->part); pobj->part = t->part; |