[file-roller] fixed minor style issues
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] fixed minor style issues
- Date: Mon, 3 May 2010 11:01:11 +0000 (UTC)
commit 28ed7c3c862f346a13949ff7f96e4886391783fa
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon May 3 12:54:29 2010 +0200
fixed minor style issues
src/fr-window.c | 8 ++++----
src/gtk-utils.c | 14 +++++++-------
2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/fr-window.c b/src/fr-window.c
index 971a639..8eeb833 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -703,7 +703,7 @@ fr_window_close (FrWindow *window)
if (gtk_widget_get_realized (GTK_WIDGET (window))) {
int width, height;
- gdk_drawable_get_size (gtk_widget_get_window(GTK_WIDGET (window)), &width, &height);
+ gdk_drawable_get_size (gtk_widget_get_window (GTK_WIDGET (window)), &width, &height);
eel_gconf_set_integer (PREF_UI_WINDOW_WIDTH, width);
eel_gconf_set_integer (PREF_UI_WINDOW_HEIGHT, height);
@@ -1897,11 +1897,11 @@ fr_window_update_file_list (FrWindow *window,
if (window->priv->archive_new) {
gtk_widget_set_sensitive (window->priv->list_view, TRUE);
- gtk_widget_show_all (gtk_widget_get_parent(window->priv->list_view));
+ gtk_widget_show_all (gtk_widget_get_parent (window->priv->list_view));
}
else {
gtk_widget_set_sensitive (window->priv->list_view, FALSE);
- gtk_widget_hide_all (gtk_widget_get_parent(window->priv->list_view));
+ gtk_widget_hide_all (gtk_widget_get_parent (window->priv->list_view));
}
return;
@@ -1909,7 +1909,7 @@ fr_window_update_file_list (FrWindow *window,
else {
gtk_widget_set_sensitive (window->priv->list_view, TRUE);
if (! gtk_widget_get_visible (window->priv->list_view))
- gtk_widget_show_all (gtk_widget_get_parent(window->priv->list_view));
+ gtk_widget_show_all (gtk_widget_get_parent (window->priv->list_view));
}
if (window->priv->give_focus_to_the_list) {
diff --git a/src/gtk-utils.c b/src/gtk-utils.c
index aaeb002..c18ec62 100644
--- a/src/gtk-utils.c
+++ b/src/gtk-utils.c
@@ -376,7 +376,7 @@ _gtk_error_dialog_new (GtkWindow *parent,
GtkWidget *text_view;
GtkWidget *scrolled = NULL;
GtkWidget *expander;
- GtkWidget *content_area;
+ GtkWidget *content_area;
GtkTextBuffer *text_buf;
GtkTextIter iter;
char *stock_id;
@@ -441,7 +441,7 @@ _gtk_error_dialog_new (GtkWindow *parent,
expander = gtk_expander_new_with_mnemonic (_("Command _Line Output"));
gtk_expander_set_expanded (GTK_EXPANDER (expander), secondary_text == NULL);
-
+
/* Add text */
scrolled = gtk_scrolled_window_new (NULL, NULL);
@@ -691,13 +691,13 @@ get_file_icon_pixbuf (GFileIcon *icon,
GFile *file;
char *filename;
GdkPixbuf *pixbuf;
-
+
file = g_file_icon_get_file (icon);
filename = g_file_get_path (file);
pixbuf = gdk_pixbuf_new_from_file_at_size (filename, size, -1, NULL);
g_free (filename);
g_object_unref (file);
-
+
return pixbuf;
}
@@ -796,7 +796,7 @@ show_help_dialog (GtkWindow *parent,
}
-GtkBuilder *
+GtkBuilder *
_gtk_builder_new_from_file (const char *ui_file)
{
char *filename;
@@ -810,12 +810,12 @@ _gtk_builder_new_from_file (const char *ui_file)
g_clear_error (&error);
}
g_free (filename);
-
+
return builder;
}
-GtkWidget *
+GtkWidget *
_gtk_builder_get_widget (GtkBuilder *builder,
const char *name)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]