[Xfce4-commits] [apps/parole] 01/01: cpplint: More whitespace fixes Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3] Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2] Should have a space between // and comment [whitespace/comments] [4]
noreply at xfce.org
noreply at xfce.org
Sun May 28 20:16:21 CEST 2017
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/parole.
commit 44eb022a0b8825da7a3eb41605e53526fc02a726
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Sun May 28 14:15:56 2017 -0400
cpplint: More whitespace fixes
Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
Should have a space between // and comment [whitespace/comments] [4]
---
src/common/parole-screensaver.c | 1 -
src/common/parole-screensaver.h | 2 --
src/gst/parole-gst.c | 15 ++------
src/gst/parole-gst.h | 3 --
src/main.c | 1 -
src/misc/parole-file.c | 5 ++-
src/misc/parole-filters.c | 2 --
src/misc/parole-pl-parser.c | 1 -
src/misc/parole-pl-parser.h | 1 -
src/misc/parole-provider-player.h | 1 -
src/misc/parole-stream.h | 3 --
src/parole-button.c | 1 -
src/parole-button.h | 3 --
src/parole-clutter.c | 9 +++--
src/parole-clutter.h | 2 --
src/parole-conf-dialog.c | 1 -
src/parole-conf-dialog.h | 2 --
src/parole-conf.c | 1 -
src/parole-disc.c | 3 +-
src/parole-disc.h | 3 --
src/parole-mediachooser.c | 1 -
src/parole-medialist.c | 70 +++++++++++++++++---------------------
src/parole-medialist.h | 2 --
src/parole-module.c | 1 -
src/parole-player.c | 4 +--
src/parole-player.h | 2 --
src/parole-plugin-player.c | 1 -
src/parole-plugin-player.h | 2 --
src/parole-plugins-manager.c | 5 +--
src/parole-plugins-manager.h | 2 --
src/parole-subtitle-encoding.c | 3 --
src/parole-utils.c | 1 -
src/plugins/mpris2/mpris2-plugin.c | 1 -
src/plugins/notify/notify-plugin.c | 1 -
src/plugins/sample/sample-plugin.c | 1 -
src/plugins/tray/tray-plugin.c | 1 -
36 files changed, 44 insertions(+), 114 deletions(-)
diff --git a/src/common/parole-screensaver.c b/src/common/parole-screensaver.c
index 4c3164a..fefaf79 100644
--- a/src/common/parole-screensaver.c
+++ b/src/common/parole-screensaver.c
@@ -56,7 +56,6 @@ parole_screen_saver_class_init (ParoleScreenSaverClass *klass)
GObjectClass *object_class = G_OBJECT_CLASS (klass);
object_class->finalize = parole_screen_saver_finalize;
-
}
static void
diff --git a/src/common/parole-screensaver.h b/src/common/parole-screensaver.h
index f50c74e..3436ca6 100644
--- a/src/common/parole-screensaver.h
+++ b/src/common/parole-screensaver.h
@@ -35,13 +35,11 @@ G_BEGIN_DECLS
typedef struct
{
GObject parent;
-
} ParoleScreenSaver;
typedef struct
{
GObjectClass parent_class;
-
} ParoleScreenSaverClass;
GType parole_screen_saver_get_type (void) G_GNUC_CONST;
diff --git a/src/gst/parole-gst.c b/src/gst/parole-gst.c
index d060720..18d0bdd 100644
--- a/src/gst/parole-gst.c
+++ b/src/gst/parole-gst.c
@@ -92,7 +92,6 @@ typedef enum
GST_PLAY_FLAG_DOWNLOAD = (1 << 7),
GST_PLAY_FLAG_BUFFERING = (1 << 8),
GST_PLAY_FLAG_DEINTERLACE = (1 << 9)
-
} GstPlayFlags;
typedef enum
@@ -485,9 +484,7 @@ parole_gst_query_capabilities (ParoleGst *gst)
query = gst_query_new_seeking (GST_FORMAT_TIME);
- if ( gst_element_query (gst->priv->playbin, query) )
- {
-
+ if (gst_element_query (gst->priv->playbin, query)) {
gst_query_parse_seeking (query,
NULL,
&seekable,
@@ -497,7 +494,6 @@ parole_gst_query_capabilities (ParoleGst *gst)
g_object_set (G_OBJECT (gst->priv->stream),
"seekable", seekable,
NULL);
-
}
gst_query_unref (query);
}
@@ -1228,7 +1224,6 @@ parole_gst_get_meta_data_dvd (ParoleGst *gst)
chapter);
}
}
-
}
@@ -1761,8 +1756,7 @@ parole_gst_send_navigation_command(ParoleGst *gst, gint command)
GstNavigation *nav;
nav = GST_NAVIGATION (gst->priv->video_sink);
- switch (command)
- {
+ switch (command) {
case GST_DVD_ROOT_MENU:
TRACE("Root Menu");
gst_navigation_send_command (nav, GST_NAVIGATION_COMMAND_DVD_MENU);
@@ -1786,7 +1780,6 @@ parole_gst_send_navigation_command(ParoleGst *gst, gint command)
default:
break;
}
-
}
static gboolean
@@ -2412,14 +2405,13 @@ GtkWidget *parole_gst_get (void)
* we need it to be destroyed immediately when the main
* window is destroyed.
*/
- //g_object_ref (parole_gst_object);
+ // g_object_ref (parole_gst_object);
} else {
parole_gst_object = g_object_new (PAROLE_TYPE_GST, NULL);
g_object_add_weak_pointer (parole_gst_object, &parole_gst_object);
}
return GTK_WIDGET (parole_gst_object);
-
}
static gboolean
@@ -2881,7 +2873,6 @@ gst_set_current_audio_track( ParoleGst *gst, gint track_no )
void
gst_set_current_subtitle_track( ParoleGst *gst, gint track_no )
{
-
gchar *uri, *sub;
gint flags;
diff --git a/src/gst/parole-gst.h b/src/gst/parole-gst.h
index baef6e3..21890f5 100644
--- a/src/gst/parole-gst.h
+++ b/src/gst/parole-gst.h
@@ -44,7 +44,6 @@ typedef enum
PAROLE_ASPECT_RATIO_4_3,
PAROLE_ASPECT_RATIO_16_9,
PAROLE_ASPECT_RATIO_DVB
-
} ParoleAspectRatio;
enum
@@ -62,7 +61,6 @@ typedef struct
{
GtkWidget parent;
ParoleGstPrivate *priv;
-
} ParoleGst;
typedef struct
@@ -95,7 +93,6 @@ typedef struct
void (*dvd_chapter_count_change) (ParoleGst *gst,
gint dvd_chapter_change);
-
} ParoleGstClass;
GType parole_gst_get_type (void) G_GNUC_CONST;
diff --git a/src/main.c b/src/main.c
index c6f77ed..3ab89c3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -203,7 +203,6 @@ parole_send_message (const gchar *message)
}
g_object_unref (proxy);
-
}
int main (int argc, char **argv)
diff --git a/src/misc/parole-file.c b/src/misc/parole-file.c
index 9003ac0..fba39d9 100644
--- a/src/misc/parole-file.c
+++ b/src/misc/parole-file.c
@@ -51,7 +51,6 @@ struct _ParoleFilePrivate
gchar *directory;
gchar *custom_subtitles;
gint dvd_chapter;
-
};
enum
@@ -500,7 +499,7 @@ parole_file_new_dvd_chapter (gint chapter_num, const gchar *display_name)
"dvd-chapter", chapter_num,
NULL);
- //g_free(uri); FIXME This should probably be freed.
+ // g_free(uri); FIXME This should probably be freed.
return file;
}
@@ -634,7 +633,7 @@ parole_file_set_custom_subtitles (const ParoleFile *file, gchar *suburi)
gint
parole_file_get_dvd_chapter (const ParoleFile *file)
{
- //g_return_val_if_fail (PAROLE_IS_FILE (file), NULL);
+ // g_return_val_if_fail (PAROLE_IS_FILE (file), NULL);
return PAROLE_FILE_GET_PRIVATE (file)->dvd_chapter;
}
diff --git a/src/misc/parole-filters.c b/src/misc/parole-filters.c
index b436f0a..72b7809 100644
--- a/src/misc/parole-filters.c
+++ b/src/misc/parole-filters.c
@@ -165,7 +165,6 @@ GtkFileFilter *parole_get_supported_files_filter (void)
gtk_file_filter_add_pattern (filter, playlist_file_extensions[i]);
return filter;
-
}
GtkRecentFilter *parole_get_supported_recent_files_filter (void)
@@ -181,7 +180,6 @@ GtkRecentFilter *parole_get_supported_recent_files_filter (void)
gtk_recent_filter_add_pattern (filter, playlist_file_extensions[i]);
return filter;
-
}
/**
diff --git a/src/misc/parole-pl-parser.c b/src/misc/parole-pl-parser.c
index 36619d6..cb33ba2 100644
--- a/src/misc/parole-pl-parser.c
+++ b/src/misc/parole-pl-parser.c
@@ -56,7 +56,6 @@ typedef struct
gboolean started;
gchar *uri;
gchar *title;
-
} ParoleParserData;
gchar *g_substr (const gchar* string, gint start, gint end);
diff --git a/src/misc/parole-pl-parser.h b/src/misc/parole-pl-parser.h
index 3192941..8ea6067 100644
--- a/src/misc/parole-pl-parser.h
+++ b/src/misc/parole-pl-parser.h
@@ -49,7 +49,6 @@ typedef enum
PAROLE_PL_FORMAT_PLS,
PAROLE_PL_FORMAT_ASX,
PAROLE_PL_FORMAT_XSPF
-
} ParolePlFormat;
ParolePlFormat parole_pl_parser_guess_format_from_extension (const gchar *filename);
diff --git a/src/misc/parole-provider-player.h b/src/misc/parole-provider-player.h
index 745d503..1083fcf 100644
--- a/src/misc/parole-provider-player.h
+++ b/src/misc/parole-provider-player.h
@@ -111,7 +111,6 @@ struct _ParoleProviderPlayerIface
void (*state_changed) (ParoleProviderPlayer *player,
const ParoleStream *stream,
ParoleState state);
-
};
GType parole_provider_player_get_type (void) G_GNUC_CONST;
diff --git a/src/misc/parole-stream.h b/src/misc/parole-stream.h
index 32db9e7..904ed2e 100644
--- a/src/misc/parole-stream.h
+++ b/src/misc/parole-stream.h
@@ -60,7 +60,6 @@ typedef enum
PAROLE_MEDIA_TYPE_DVD,
PAROLE_MEDIA_TYPE_DVB,
PAROLE_MEDIA_TYPE_REMOTE
-
} ParoleMediaType;
/**
@@ -81,7 +80,6 @@ typedef enum
PAROLE_STATE_ABOUT_TO_FINISH,
PAROLE_STATE_PAUSED,
PAROLE_STATE_PLAYING
-
} ParoleState;
@@ -91,7 +89,6 @@ typedef struct _ParoleStreamClass ParoleStreamClass;
struct _ParoleStream
{
GObject parent;
-
};
struct _ParoleStreamClass
diff --git a/src/parole-button.c b/src/parole-button.c
index 0d73155..c666936 100644
--- a/src/parole-button.c
+++ b/src/parole-button.c
@@ -66,7 +66,6 @@ struct ParoleButtonPrivate
{
GdkScreen *screen;
GdkWindow *window;
-
};
enum
diff --git a/src/parole-button.h b/src/parole-button.h
index f9ea97d..1242d43 100644
--- a/src/parole-button.h
+++ b/src/parole-button.h
@@ -33,7 +33,6 @@ typedef enum
PAROLE_KEY_AUDIO_PREV,
PAROLE_KEY_AUDIO_NEXT,
PAROLE_KEY_NUMBERS,
-
} ParoleButtonKey;
#ifdef HAVE_XF86_KEYSYM
@@ -50,7 +49,6 @@ typedef struct
{
GObject parent;
ParoleButtonPrivate *priv;
-
} ParoleButton;
typedef struct
@@ -59,7 +57,6 @@ typedef struct
void (*button_pressed) (ParoleButton *button,
ParoleButtonKey type);
-
} ParoleButtonClass;
GType parole_button_get_type (void) G_GNUC_CONST;
diff --git a/src/parole-clutter.c b/src/parole-clutter.c
index 68b9c0e..efbb9b7 100644
--- a/src/parole-clutter.c
+++ b/src/parole-clutter.c
@@ -66,9 +66,9 @@ G_DEFINE_TYPE (ParoleClutter, parole_clutter, GTK_TYPE_WIDGET)
static void
parole_clutter_finalize (GObject *object)
{
- //ParoleClutter *clutter;
+ // ParoleClutter *clutter;
- //clutter = PAROLE_CLUTTER (object);
+ // clutter = PAROLE_CLUTTER (object);
TRACE ("start");
@@ -104,9 +104,9 @@ parole_clutter_hide (GtkWidget *widget)
static void
parole_clutter_constructed (GObject *object)
{
- //ParoleClutter *clutter;
+ // ParoleClutter *clutter;
- //clutter = PAROLE_CLUTTER (object);
+ // clutter = PAROLE_CLUTTER (object);
}
static void
@@ -366,7 +366,6 @@ GtkWidget *parole_clutter_get (void)
}
return GTK_WIDGET (parole_clutter_object);
-
}
void parole_clutter_set_video_dimensions (ParoleClutter *clutter, gint w, gint h)
diff --git a/src/parole-clutter.h b/src/parole-clutter.h
index 34fc585..03d960d 100644
--- a/src/parole-clutter.h
+++ b/src/parole-clutter.h
@@ -42,13 +42,11 @@ typedef struct
{
GtkWidget parent;
ParoleClutterPrivate *priv;
-
} ParoleClutter;
typedef struct
{
GtkWidgetClass parent_class;
-
} ParoleClutterClass;
GType parole_clutter_get_type (void) G_GNUC_CONST;
diff --git a/src/parole-conf-dialog.c b/src/parole-conf-dialog.c
index 6fac5b5..837e804 100644
--- a/src/parole-conf-dialog.c
+++ b/src/parole-conf-dialog.c
@@ -501,7 +501,6 @@ void parole_conf_dialog_open (ParoleConfDialog *self, GtkWidget *parent)
gtk_range_set_value (GTK_RANGE (self->priv->contrast), contrast_value);
gtk_range_set_value (GTK_RANGE (self->priv->hue), hue_value);
gtk_range_set_value (GTK_RANGE (self->priv->saturation), saturation_value);
-
}
/* General/Video/Disable screensaver while playing movies */
diff --git a/src/parole-conf-dialog.h b/src/parole-conf-dialog.h
index a4c7729..dfc2b2a 100644
--- a/src/parole-conf-dialog.h
+++ b/src/parole-conf-dialog.h
@@ -38,13 +38,11 @@ typedef struct
{
GObject parent;
ParoleConfDialogPrivate *priv;
-
} ParoleConfDialog;
typedef struct
{
GObjectClass parent_class;
-
} ParoleConfDialogClass;
GType parole_conf_dialog_get_type (void) G_GNUC_CONST;
diff --git a/src/parole-conf.c b/src/parole-conf.c
index 496c383..fffc9dc 100644
--- a/src/parole-conf.c
+++ b/src/parole-conf.c
@@ -900,7 +900,6 @@ parole_conf_class_init (ParoleConfClass *klass)
NULL,
FALSE,
G_PARAM_READWRITE));
-
}
/**
diff --git a/src/parole-disc.c b/src/parole-disc.c
index 025a11d..feec4a8 100644
--- a/src/parole-disc.c
+++ b/src/parole-disc.c
@@ -78,7 +78,6 @@ typedef struct
gchar *uri;
gchar *device;
ParoleDiscKind kind;
-
} MountData;
/**
@@ -125,7 +124,7 @@ static void
parole_disc_set_enabled(ParoleDisc *disc, gboolean enabled)
{
gtk_widget_set_sensitive( GTK_WIDGET(disc->priv->disc_menu_item), enabled);
- //g_signal_emit (G_OBJECT (disc), signals [DVD_ENABLED], 0, enabled);
+ // g_signal_emit (G_OBJECT (disc), signals [DVD_ENABLED], 0, enabled);
}
static gboolean
diff --git a/src/parole-disc.h b/src/parole-disc.h
index 40c3070..1b118d3 100644
--- a/src/parole-disc.h
+++ b/src/parole-disc.h
@@ -40,14 +40,12 @@ typedef enum
PAROLE_DISC_VCD,
PAROLE_DISC_SVCD,
PAROLE_DISC_DVD
-
} ParoleDiscKind;
typedef struct
{
GObject parent;
ParoleDiscPrivate *priv;
-
} ParoleDisc;
typedef struct
@@ -63,7 +61,6 @@ typedef struct
void (*dvd_enabled) (ParoleDisc *disc,
gboolean dvd_enabled);
-
} ParoleDiscClass;
GType parole_disc_get_type (void) G_GNUC_CONST;
diff --git a/src/parole-mediachooser.c b/src/parole-mediachooser.c
index 7fe60a7..71860d0 100644
--- a/src/parole-mediachooser.c
+++ b/src/parole-mediachooser.c
@@ -68,7 +68,6 @@ struct ParoleMediaChooser
ParoleConf *conf;
GtkWidget *window;
GtkWidget *spinner;
-
};
struct ParoleMediaChooserClass
diff --git a/src/parole-medialist.c b/src/parole-medialist.c
index 0dd199a..059e897 100644
--- a/src/parole-medialist.c
+++ b/src/parole-medialist.c
@@ -410,7 +410,7 @@ parole_media_list_add_dvd_chapters (ParoleMediaList *list, gint n_chapters)
files = g_slist_append(files, file);
}
- //parole_media_list_clear_list (list);
+ // parole_media_list_clear_list (list);
parole_media_list_files_open(list, files, TRUE, TRUE);
}
@@ -716,7 +716,6 @@ parole_media_list_save_playlist_response_cb (GtkDialog *dialog,
parole_pl_parser_save_from_files (list, filename, format);
g_slist_free (list);
-
}
data->closing = TRUE;
gtk_widget_destroy(GTK_WIDGET(dialog));
@@ -818,7 +817,6 @@ void parole_media_list_format_cursor_changed_cb (GtkTreeView *view, ParolePlayli
}
}
g_free (fbasename);
-
}
/* Callback to save the current playlist */
@@ -1182,7 +1180,6 @@ static void
parole_media_list_add_open_containing_folder (ParoleMediaList *list, GtkWidget *menu,
gint x, gint y)
{
-
GtkTreePath *path;
if (gtk_tree_view_get_path_at_pos (GTK_TREE_VIEW (list->priv->view),
@@ -1193,48 +1190,47 @@ parole_media_list_add_open_containing_folder (ParoleMediaList *list, GtkWidget *
NULL,
NULL))
{
+ GtkTreeIter iter;
- GtkTreeIter iter;
+ if ( path && gtk_tree_model_get_iter (GTK_TREE_MODEL (list->priv->store), &iter, path))
+ {
+ ParoleFile *file;
+ const gchar *filename;
+ const gchar *uri;
- if ( path && gtk_tree_model_get_iter (GTK_TREE_MODEL (list->priv->store), &iter, path))
- {
- ParoleFile *file;
- const gchar *filename;
- const gchar *uri;
+ gtk_tree_model_get (GTK_TREE_MODEL (list->priv->store), &iter,
+ DATA_COL, &file,
+ -1);
- gtk_tree_model_get (GTK_TREE_MODEL (list->priv->store), &iter,
- DATA_COL, &file,
- -1);
+ filename = parole_file_get_file_name (file);
+ uri = parole_file_get_uri (file);
- filename = parole_file_get_file_name (file);
- uri = parole_file_get_uri (file);
+ if (g_str_has_prefix (uri, "file:///"))
+ {
+ GtkWidget *mi;
+ gchar *dirname;
- if (g_str_has_prefix (uri, "file:///"))
- {
- GtkWidget *mi;
- gchar *dirname;
+ dirname = g_path_get_dirname (filename);
- dirname = g_path_get_dirname (filename);
+ /* Clear */
+ mi = gtk_menu_item_new_with_label (_("Open Containing Folder"));
+ gtk_widget_set_sensitive (mi, TRUE);
+ gtk_widget_show (mi);
+ g_signal_connect_swapped (mi, "activate",
+ G_CALLBACK (parole_media_list_open_folder), menu);
- /* Clear */
- mi = gtk_menu_item_new_with_label (_("Open Containing Folder"));
- gtk_widget_set_sensitive (mi, TRUE);
- gtk_widget_show (mi);
- g_signal_connect_swapped (mi, "activate",
- G_CALLBACK (parole_media_list_open_folder), menu);
+ g_object_set_data (G_OBJECT (menu), "folder", dirname);
- g_object_set_data (G_OBJECT (menu), "folder", dirname);
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
+ mi = gtk_separator_menu_item_new ();
+ gtk_widget_show (mi);
+ gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
+ }
- mi = gtk_separator_menu_item_new ();
- gtk_widget_show (mi);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), mi);
+ gtk_tree_path_free (path);
}
-
- gtk_tree_path_free (path);
- }
}
}
@@ -1274,7 +1270,6 @@ play_opened_files_activated_cb (GtkWidget *mi, ParoleConf *conf)
g_object_set (G_OBJECT (conf),
"play-opened-files", gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (mi)),
NULL);
-
}
static void
@@ -1697,7 +1692,6 @@ void parole_media_list_load (ParoleMediaList *list)
g_slist_free (fileslist);
}
}
-
}
gboolean
@@ -1756,7 +1750,7 @@ GtkTreeRowReference *parole_media_list_get_next_row (ParoleMediaList *list,
if (gtk_tree_model_get_iter (GTK_TREE_MODEL (list->priv->store), &iter, path)) {
next = gtk_tree_row_reference_new (GTK_TREE_MODEL (list->priv->store), path);
- //parole_media_list_select_path (list, path);
+ // parole_media_list_select_path (list, path);
} else if ( repeat ) { /* Repeat playing ?*/
if (gtk_tree_model_get_iter_first (GTK_TREE_MODEL (list->priv->store), &iter)) {
next = parole_media_list_get_row_reference_from_iter (list, &iter, TRUE);
@@ -1786,7 +1780,7 @@ GtkTreeRowReference *parole_media_list_get_prev_row (ParoleMediaList *list,
if (gtk_tree_model_get_iter (GTK_TREE_MODEL (list->priv->store), &iter, path)) {
prev = gtk_tree_row_reference_new (GTK_TREE_MODEL (list->priv->store), path);
- //parole_media_list_select_path (list, path);
+ // parole_media_list_select_path (list, path);
} else {
prev = row;
}
diff --git a/src/parole-medialist.h b/src/parole-medialist.h
index 1ec2791..5ec4633 100644
--- a/src/parole-medialist.h
+++ b/src/parole-medialist.h
@@ -61,7 +61,6 @@ typedef struct
GtkBox parent;
ParoleMediaListPrivate *priv;
-
} ParoleMediaList;
typedef struct
@@ -88,7 +87,6 @@ typedef struct
void (*dvd_chapter_count) (ParoleMediaList *list,
gint chapter_count);
-
} ParoleMediaListClass;
GType parole_media_list_get_type (void) G_GNUC_CONST;
diff --git a/src/parole-module.c b/src/parole-module.c
index 21ed666..55d2192 100644
--- a/src/parole-module.c
+++ b/src/parole-module.c
@@ -123,7 +123,6 @@ parole_module_unload (GTypeModule *gtype_module)
module->library = NULL;
module->provider_type = G_TYPE_INVALID;
module->active = FALSE;
-
}
static void
diff --git a/src/parole-player.c b/src/parole-player.c
index 6fe5844..1c18726 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -661,7 +661,6 @@ void
parole_player_dvd_audio_activated (GtkMenuItem *widget, ParolePlayer *player)
{
parole_gst_send_navigation_command (PAROLE_GST(player->priv->gst), GST_DVD_AUDIO_MENU);
-
}
void
@@ -874,7 +873,6 @@ parole_player_set_audio_list (ParolePlayer *player, GList *audio_list)
g_signal_connect (player->priv->audio_group, "activate",
G_CALLBACK (parole_player_audiotrack_radio_menu_item_changed_cb), player);
} else {
-
menu_item = gtk_radio_menu_item_new_with_label_from_widget (GTK_RADIO_MENU_ITEM(player->priv->audio_group), language);
gtk_widget_show (menu_item);
gtk_menu_shell_append (GTK_MENU_SHELL (player->priv->languages_menu), menu_item);
@@ -1966,7 +1964,7 @@ parole_player_dvd_chapter_count_change_cb (ParoleGst *gst, gint chapter_count, P
player->priv->row = NULL;
/* FIXME Cannot clear list prior to adding new chapters. */
- //parole_media_list_clear_list (player->priv->list);
+ // parole_media_list_clear_list (player->priv->list);
parole_media_list_add_dvd_chapters (player->priv->list, chapter_count);
parole_player_update_chapters(player, chapter_count);
diff --git a/src/parole-player.h b/src/parole-player.h
index 9da08d9..876d1a6 100644
--- a/src/parole-player.h
+++ b/src/parole-player.h
@@ -38,7 +38,6 @@ typedef struct
{
GObject parent;
ParolePlayerPrivate *priv;
-
} ParolePlayer;
typedef struct
@@ -53,7 +52,6 @@ typedef struct
void (*gst_dvd_nav_message) (ParolePlayer *player,
gint gst_dvd_nav_message);
-
} ParolePlayerClass;
typedef enum
diff --git a/src/parole-plugin-player.c b/src/parole-plugin-player.c
index 0c42612..708b54b 100644
--- a/src/parole-plugin-player.c
+++ b/src/parole-plugin-player.c
@@ -55,7 +55,6 @@ struct ParolePluginPlayerPrivate
gboolean packed;
gboolean fullscreen;
-
};
G_DEFINE_TYPE_WITH_CODE (ParolePluginPlayer, parole_plugin_player, G_TYPE_OBJECT,
diff --git a/src/parole-plugin-player.h b/src/parole-plugin-player.h
index 237bdef..f39c452 100644
--- a/src/parole-plugin-player.h
+++ b/src/parole-plugin-player.h
@@ -37,13 +37,11 @@ typedef struct
{
GObject parent;
ParolePluginPlayerPrivate *priv;
-
} ParolePluginPlayer;
typedef struct
{
GObjectClass parent_class;
-
} ParolePluginPlayerClass;
GType parole_plugin_player_get_type (void) G_GNUC_CONST;
diff --git a/src/parole-plugins-manager.c b/src/parole-plugins-manager.c
index 1230e42..3154f8e 100644
--- a/src/parole-plugins-manager.c
+++ b/src/parole-plugins-manager.c
@@ -58,7 +58,6 @@ typedef struct
gchar *authors;
gchar *desc;
gchar *website;
-
} ParolePluginInfo;
typedef struct
@@ -72,7 +71,6 @@ typedef struct
GtkWidget *author;
GtkWidget *site;
GtkWidget *configure;
-
} PrefData;
void parole_plugins_manager_pref_response_cb (GtkDialog *dialog,
@@ -328,7 +326,7 @@ parole_plugins_manager_unload_all (gpointer data, gpointer user_data)
parole_provider_module_free_plugin (module);
g_type_module_unuse (G_TYPE_MODULE (data));
}
- //g_object_unref (module);
+ // g_object_unref (module);
}
static ParolePluginInfo *
@@ -711,7 +709,6 @@ void parole_plugins_manager_load (ParolePluginsManager *manager)
if ( manager->priv->load_plugins )
parole_plugins_manager_load_plugins (manager);
-
}
void
diff --git a/src/parole-plugins-manager.h b/src/parole-plugins-manager.h
index c6e7eb1..025ef46 100644
--- a/src/parole-plugins-manager.h
+++ b/src/parole-plugins-manager.h
@@ -38,13 +38,11 @@ typedef struct
{
GObject parent;
ParolePluginsManagerPrivate *priv;
-
} ParolePluginsManager;
typedef struct
{
GObjectClass parent_class;
-
} ParolePluginsManagerClass;
GType parole_plugins_manager_get_type (void) G_GNUC_CONST;
diff --git a/src/parole-subtitle-encoding.c b/src/parole-subtitle-encoding.c
index 8398a13..1a4c48b 100644
--- a/src/parole-subtitle-encoding.c
+++ b/src/parole-subtitle-encoding.c
@@ -160,7 +160,6 @@ typedef struct
static SubtitleEncoding encodings[] = {
-
{SUBTITLE_ENCODING_CURRENT_LOCALE,
NULL, N_("Current Locale")},
@@ -431,7 +430,6 @@ is_encoding_sensitive (GtkCellLayout * cell_layout,
GtkCellRenderer * cell,
GtkTreeModel * tree_model, GtkTreeIter * iter, gpointer data)
{
-
gboolean sensitive;
sensitive = !gtk_tree_model_iter_has_child (tree_model, iter);
@@ -513,7 +511,6 @@ parole_subtitle_encoding_set (GtkComboBox * combo, const char *encoding)
if (gtk_tree_model_get_iter_first (model, &iter))
{
-
do {
if (!gtk_tree_model_iter_has_child (model, &iter))
continue;
diff --git a/src/parole-utils.c b/src/parole-utils.c
index 2d4490e..9ba166e 100644
--- a/src/parole-utils.c
+++ b/src/parole-utils.c
@@ -342,7 +342,6 @@ GdkPixbuf *parole_icon_load (const gchar *icon_name, gint size)
}
return pix;
-
}
void parole_get_media_files (GtkFileFilter *filter, const gchar *path,
diff --git a/src/plugins/mpris2/mpris2-plugin.c b/src/plugins/mpris2/mpris2-plugin.c
index 8d0b7dc..a55d60a 100644
--- a/src/plugins/mpris2/mpris2-plugin.c
+++ b/src/plugins/mpris2/mpris2-plugin.c
@@ -43,5 +43,4 @@ parole_plugin_initialize (ParoleProviderPlugin *plugin)
G_MODULE_EXPORT void
parole_plugin_shutdown (void)
{
-
}
diff --git a/src/plugins/notify/notify-plugin.c b/src/plugins/notify/notify-plugin.c
index 15b4a4c..975e080 100644
--- a/src/plugins/notify/notify-plugin.c
+++ b/src/plugins/notify/notify-plugin.c
@@ -45,5 +45,4 @@ parole_plugin_initialize (ParoleProviderPlugin *plugin)
G_MODULE_EXPORT void
parole_plugin_shutdown (void)
{
-
}
diff --git a/src/plugins/sample/sample-plugin.c b/src/plugins/sample/sample-plugin.c
index 5a3cd35..4975abe 100644
--- a/src/plugins/sample/sample-plugin.c
+++ b/src/plugins/sample/sample-plugin.c
@@ -43,5 +43,4 @@ parole_plugin_initialize (ParoleProviderPlugin *plugin)
G_MODULE_EXPORT void
parole_plugin_shutdown (void)
{
-
}
diff --git a/src/plugins/tray/tray-plugin.c b/src/plugins/tray/tray-plugin.c
index bf41136..95c2547 100644
--- a/src/plugins/tray/tray-plugin.c
+++ b/src/plugins/tray/tray-plugin.c
@@ -45,5 +45,4 @@ parole_plugin_initialize (ParoleProviderPlugin *plugin)
G_MODULE_EXPORT void
parole_plugin_shutdown (void)
{
-
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list