[gnome-internet-radio-locator] Minor changes
- From: ole <ole src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-internet-radio-locator] Minor changes
- Date: Mon, 19 Jun 2017 19:07:40 +0000 (UTC)
commit f9ccf9c0269575167f913a9dfb0903955c72cae8
Author: Ole Aamot <oka oka no>
Date: Mon Jun 19 21:06:52 2017 +0200
Minor changes
src/Makefile.am | 2 +-
src/gnome-internet-radio-locator-markers.h | 4 ++--
src/gnome-internet-radio-locator-player.c | 6 +++---
src/gnome-internet-radio-locator.c | 10 +++++-----
4 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index e2b4fd9..830e854 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -34,7 +34,7 @@ gnomeinternetradiolocatordir = $(datadir)/gnome-internet-radio-locator
gnomeinternetradiolocator_DATA = gnome-internet-radio-locator-0.1.dtd gnome-internet-radio-locator.xml
-EXTRA_DIST = gnome-internet-radio-locator.h gnome-internet-radio-locator-player.h
gnome-internet-radio-locator-player-kb.h gnome-internet-radio-locator-player-resource.h
gnome-internet-radio-locator-station.h gnome-internet-radio-locator-stations-map.h
gnome-internet-radio-locator-tz.h gnome-internet-radio-locator-gui.h gnome-internet-radio-locator-listener.h
gnome-internet-radio-locator-program.h gnome-internet-radio-locator-runners.h
gnome-internet-radio-locator-streams.h gnome-internet-radio-locator-0.1.dtd gnome-internet-radio-locator.xml
gnome-internet-radio-locator.xsl
+EXTRA_DIST = gnome-internet-radio-locator.h gnome-internet-radio-locator-player.h
gnome-internet-radio-locator-markers.h gnome-internet-radio-locator-player-kb.h
gnome-internet-radio-locator-player-resource.h gnome-internet-radio-locator-station.h
gnome-internet-radio-locator-stations-map.h gnome-internet-radio-locator-tz.h
gnome-internet-radio-locator-gui.h gnome-internet-radio-locator-listener.h
gnome-internet-radio-locator-program.h gnome-internet-radio-locator-runners.h
gnome-internet-radio-locator-streams.h gnome-internet-radio-locator-0.1.dtd gnome-internet-radio-locator.xml
gnome-internet-radio-locator.xsl
LDADD = $(GNOME_INTERNET_RADIO_LOCATOR_LIBS)
diff --git a/src/gnome-internet-radio-locator-markers.h b/src/gnome-internet-radio-locator-markers.h
index 9b7aa80..2604b66 100644
--- a/src/gnome-internet-radio-locator-markers.h
+++ b/src/gnome-internet-radio-locator-markers.h
@@ -18,8 +18,8 @@
#include <champlain/champlain.h>
-#ifndef MARKERS_H
-#define MARKERS_H
+#ifndef GNOME_INTERNET_RADIO_LOCATOR_MARKERS_H
+#define GNOME_INTERNET_RADIO_LOCATOR_MARKERS_H 1
ChamplainMarkerLayer *create_marker_layer (ChamplainView *view, ChamplainPathLayer **path);
diff --git a/src/gnome-internet-radio-locator-player.c b/src/gnome-internet-radio-locator-player.c
index 234cfd9..b9d669b 100644
--- a/src/gnome-internet-radio-locator-player.c
+++ b/src/gnome-internet-radio-locator-player.c
@@ -658,13 +658,13 @@ keyboard_cb (const gchar * key_input, gpointer user_data)
void
gnome_internet_radio_locator_player_new (GstPlayer * player, const gchar * next_uri)
{
- gst_player_set_uri(player, next_uri);
+ gst_player_set_uri(player, next_uri);
}
void
gnome_internet_radio_locator_player_stop (GstPlayer *player)
{
- gst_player_stop(player);
+ gst_player_stop(player);
}
void
@@ -672,7 +672,7 @@ gnome_internet_radio_locator_player_pause (GstPlayer *player)
{
/* FIXME: Unable to quit after pause is called for the first time. */
#if 0
- gst_player_pause(player);
+ gst_player_pause(player);
#endif
}
diff --git a/src/gnome-internet-radio-locator.c b/src/gnome-internet-radio-locator.c
index e2d26e4..0a86c18 100644
--- a/src/gnome-internet-radio-locator.c
+++ b/src/gnome-internet-radio-locator.c
@@ -382,11 +382,11 @@ static void
quit_program(GSimpleAction *simple, GVariant *parameter, gpointer user_data) {
/* gnome_internet_radio_locator_player_stop(player); */
/* g_application_quit(app); */
- gst_player_stop(player);
- g_object_unref (player);
- gst_deinit();
- gtk_main_quit ();
- return;
+ gst_player_stop(player);
+ g_object_unref (player);
+ gst_deinit();
+ gtk_main_quit ();
+ return;
}
void on_new_station_changed(GtkWidget * a, gpointer user_data)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]