[gnome-commander] noop: code cleanup
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] noop: code cleanup
- Date: Tue, 26 Jul 2011 14:46:09 +0000 (UTC)
commit b8d248321d6b9dd26afcb39d9f90fabb9801bb29
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Tue Jul 26 16:44:15 2011 +0200
noop: code cleanup
libgcmd/gnome-cmd-string-dialog.cc | 6 +++---
src/dialogs/gnome-cmd-mkdir-dialog.cc | 4 ++--
src/gnome-cmd-clist.cc | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libgcmd/gnome-cmd-string-dialog.cc b/libgcmd/gnome-cmd-string-dialog.cc
index 1b7ed30..425fedb 100644
--- a/libgcmd/gnome-cmd-string-dialog.cc
+++ b/libgcmd/gnome-cmd-string-dialog.cc
@@ -122,8 +122,8 @@ inline void setup_widget (GnomeCmdStringDialog *string_dialog, gint rows)
GtkWidget *btn;
string_dialog->rows = rows;
- string_dialog->labels = (GtkWidget**)g_new (gpointer, rows);
- string_dialog->entries = (GtkWidget**)g_new (gpointer, rows);
+ string_dialog->labels = (GtkWidget**) g_new (gpointer, rows);
+ string_dialog->entries = (GtkWidget**) g_new (gpointer, rows);
string_dialog->priv->error_desc = g_strdup (_("No error description available"));
table = create_table (dialog, rows, 2);
@@ -136,7 +136,7 @@ inline void setup_widget (GnomeCmdStringDialog *string_dialog, gint rows)
string_dialog->entries[i] = create_entry (dialog, "entry", "");
gtk_entry_set_activates_default (GTK_ENTRY (string_dialog->entries[i]), TRUE);
- table_add (table, string_dialog->entries[i], 1, i, GtkAttachOptions(GTK_FILL|GTK_EXPAND));
+ table_add (table, string_dialog->entries[i], 1, i, GtkAttachOptions (GTK_FILL|GTK_EXPAND));
}
gnome_cmd_dialog_add_button (GNOME_CMD_DIALOG (dialog), GTK_STOCK_CANCEL, GTK_SIGNAL_FUNC (on_cancel), string_dialog);
diff --git a/src/dialogs/gnome-cmd-mkdir-dialog.cc b/src/dialogs/gnome-cmd-mkdir-dialog.cc
index e47cd54..7d3e9b8 100644
--- a/src/dialogs/gnome-cmd-mkdir-dialog.cc
+++ b/src/dialogs/gnome-cmd-mkdir-dialog.cc
@@ -88,7 +88,7 @@ static void response_callback (GtkDialog *dialog, int response_id, GnomeCmdDir *
// don't create any directory if no name was passed or cancel was selected
if (!filename || *filename==0)
{
- gnome_cmd_show_message(GTK_WINDOW (dialog), _("A directory name must be entered"));
+ gnome_cmd_show_message (GTK_WINDOW (dialog), _("A directory name must be entered"));
g_signal_stop_emission_by_name (dialog, "response");
}
else
@@ -112,7 +112,7 @@ static void response_callback (GtkDialog *dialog, int response_id, GnomeCmdDir *
if (result!=GNOME_VFS_OK)
{
string dirname = stringify (gnome_vfs_uri_extract_short_name (mkdir_uri));
- gnome_cmd_show_message(GTK_WINDOW (dialog), dirname, gnome_vfs_result_to_string (result));
+ gnome_cmd_show_message (GTK_WINDOW (dialog), dirname, gnome_vfs_result_to_string (result));
g_signal_stop_emission_by_name (dialog, "response");
break;
}
diff --git a/src/gnome-cmd-clist.cc b/src/gnome-cmd-clist.cc
index 08e7e89..e9592f2 100644
--- a/src/gnome-cmd-clist.cc
+++ b/src/gnome-cmd-clist.cc
@@ -465,7 +465,7 @@ static void draw_row (GtkCList *clist, GdkRectangle *area, gint row, GtkCListRow
****/
static void on_hadj_value_changed (GtkAdjustment *adjustment, GnomeCmdCList *clist)
{
- gtk_widget_draw (GTK_WIDGET(clist), NULL);
+ gtk_widget_draw (GTK_WIDGET (clist), NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]