[file-roller] fixed code style
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] fixed code style
- Date: Sun, 27 Oct 2013 12:27:51 +0000 (UTC)
commit f327e7b538915bf80b356211765e7f53dd12db9b
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Oct 27 10:38:23 2013 +0100
fixed code style
src/fr-window.c | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/src/fr-window.c b/src/fr-window.c
index 89d5fcf..f0906ad 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -4203,11 +4203,11 @@ file_list_drag_begin (GtkWidget *widget,
GdkDragContext *context,
gpointer data)
{
- FrWindow *window = data;
+ FrWindow *window = data;
GtkTreeSelection *selection;
- GtkTreeIter iter;
- GList *selected_tree_paths;
- char *xds_filename;
+ GtkTreeIter iter;
+ GList *selected_tree_paths;
+ char *xds_filename;
debug (DEBUG_INFO, "::DragBegin -->\n");
@@ -4223,16 +4223,16 @@ file_list_drag_begin (GtkWidget *widget,
selected_tree_paths = gtk_tree_selection_get_selected_rows (selection, NULL);
if (gtk_tree_model_get_iter (GTK_TREE_MODEL (window->priv->list_store),
- &iter, (GtkTreePath *) selected_tree_paths->data)) {
-
+ &iter,
+ (GtkTreePath *) selected_tree_paths->data))
+ {
gtk_tree_model_get (GTK_TREE_MODEL (window->priv->list_store),
&iter,
TREE_COLUMN_NAME, &xds_filename,
-1);
-
- } else {
- xds_filename = g_strdup (XDS_FILENAME);
}
+ else
+ xds_filename = g_strdup (XDS_FILENAME);
gdk_property_change (gdk_drag_context_get_source_window (context),
XDS_ATOM, TEXT_ATOM,
@@ -6692,7 +6692,6 @@ _fr_window_ask_overwrite_dialog (OverwriteData *odata)
query_info_ready_for_overwrite_dialog_cb,
odata);
-
return;
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]