[Xfce4-commits] <xfce4-settings:master> Various identation fixes.
Jérôme Guelfucci
noreply at xfce.org
Tue Jan 19 19:34:26 CET 2010
Updating branch refs/heads/master
to bf3540fd6cfeccee00a0703a0ca80c90036c32ba (commit)
from 52b72e185a2403b3a22f24313a4256e75c6118a9 (commit)
commit bf3540fd6cfeccee00a0703a0ca80c90036c32ba
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Sun Jan 10 00:17:56 2010 +0100
Various identation fixes.
xfce4-settings-editor/main_window.c | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/xfce4-settings-editor/main_window.c b/xfce4-settings-editor/main_window.c
index d4457d1..3e5a024 100644
--- a/xfce4-settings-editor/main_window.c
+++ b/xfce4-settings-editor/main_window.c
@@ -477,7 +477,7 @@ cb_channel_treeview_selection_changed (GtkTreeSelection *selection, GtkBuilder *
current_channel = NULL;
}
- if (! gtk_tree_selection_get_selected (selection, &model, &iter))
+ if (!gtk_tree_selection_get_selected (selection, &model, &iter))
{
gtk_widget_set_sensitive (GTK_WIDGET (property_new_button), FALSE);
return;
@@ -506,9 +506,7 @@ static gboolean
cb_channel_treeview_button_press_event (GtkWidget *widget, GdkEventButton *event, GtkBuilder *builder)
{
if (event->button == 3 && event->type == GDK_BUTTON_PRESS)
- {
- channel_treeview_popup_menu (widget, event, builder);
- }
+ channel_treeview_popup_menu (widget, event, builder);
return FALSE;
}
@@ -847,9 +845,7 @@ cb_property_edit_button_clicked (GtkButton *button, GtkBuilder *builder)
}
}
else
- {
gtk_combo_box_set_active (GTK_COMBO_BOX (prop_type_combo), PROP_TYPE_EMPTY);
- }
if (gtk_dialog_run (GTK_DIALOG(dialog)) == GTK_RESPONSE_APPLY)
{
@@ -899,9 +895,7 @@ cb_property_edit_button_clicked (GtkButton *button, GtkBuilder *builder)
xfconf_channel_set_property (current_channel, current_property, &value);
}
else
- {
gtk_widget_hide (GTK_WIDGET (dialog));
- }
}
/**
More information about the Xfce4-commits
mailing list