aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-bit-array.c4
-rw-r--r--e-util/e-dialog-utils.c8
-rw-r--r--e-util/e-error.c2
-rw-r--r--e-util/e-event.c2
-rw-r--r--e-util/e-icon-factory.c2
-rw-r--r--e-util/e-text-event-processor-emacs-like.c4
-rw-r--r--e-util/e-util.c4
7 files changed, 13 insertions, 13 deletions
diff --git a/e-util/e-bit-array.c b/e-util/e-bit-array.c
index 898a1933dc..dacd132dd2 100644
--- a/e-util/e-bit-array.c
+++ b/e-util/e-bit-array.c
@@ -43,7 +43,7 @@ e_bit_array_insert_real(EBitArray *eba, gint row)
{
gint box;
gint i;
- if(eba->bit_count >= 0) {
+ if (eba->bit_count >= 0) {
/* Add another word if needed. */
if ((eba->bit_count & 0x1f) == 0) {
eba->data = g_renew(guint32, eba->data, (eba->bit_count >> 5) + 1);
@@ -70,7 +70,7 @@ e_bit_array_delete_real(EBitArray *eba, gint row, gboolean move_selection_mode)
gint i;
gint last;
gint selected = FALSE;
- if(eba->bit_count >= 0) {
+ if (eba->bit_count >= 0) {
guint32 bitmask;
box = row >> 5;
last = eba->bit_count >> 5;
diff --git a/e-util/e-dialog-utils.c b/e-util/e-dialog-utils.c
index 18949d18dd..5bc1bbc685 100644
--- a/e-util/e-dialog-utils.c
+++ b/e-util/e-dialog-utils.c
@@ -147,7 +147,7 @@ window_is_wm_toplevel (Display *display, Window window)
* @parent_widget: the parent for @dialog
*
* This sets the parent for @dialog to be @parent_widget. Unlike
- * gtk_window_set_transient_for(), this doesn't need @parent_widget to
+ * gtk_window_set_transient_for (), this doesn't need @parent_widget to
* be the actual toplevel, and also works if @parent_widget is
* embedded as a Bonobo control by an out-of-process container.
* @parent_widget must already be realized before calling this
@@ -191,7 +191,7 @@ e_dialog_set_transient_for (GtkWindow *dialog,
e_dialog_set_transient_for_xid (dialog, parent);
#endif
#ifdef GDK_WINDOWING_WIN32
- g_warning ("Not implemented on Win32: e_dialog_set_transient_for() for plug windows");
+ g_warning ("Not implemented on Win32: e_dialog_set_transient_for () for plug windows");
#endif
}
@@ -206,7 +206,7 @@ dialog_realized (GtkWindow *dialog, gpointer xid)
* @dialog: a dialog window
* @xid: the X Window parent
*
- * Like e_dialog_set_transient_for(), but use an XID to specify the
+ * Like e_dialog_set_transient_for (), but use an XID to specify the
* parent window.
**/
void
@@ -358,7 +358,7 @@ e_file_get_save_filesel (GtkWidget *parent, const gchar *title, const gchar *nam
gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (filesel), FALSE);
if (parent)
- e_dialog_set_transient_for((GtkWindow *)filesel, parent);
+ e_dialog_set_transient_for ((GtkWindow *)filesel, parent);
uri = e_file_get_save_path();
diff --git a/e-util/e-error.c b/e-util/e-error.c
index 0671bdecf5..dd5dddf64e 100644
--- a/e-util/e-error.c
+++ b/e-util/e-error.c
@@ -431,7 +431,7 @@ e_error_newv(GtkWindow *parent, const gchar *tag, const gchar *arg0, va_list ap)
if (parent == NULL && ee_parent_list)
parent = (GtkWindow *)ee_parent_list->data;
if (parent)
- gtk_window_set_transient_for((GtkWindow *)dialog, parent);
+ gtk_window_set_transient_for ((GtkWindow *)dialog, parent);
else
g_warning("No parent set, or default parent available for error dialog");
diff --git a/e-util/e-event.c b/e-util/e-event.c
index a94c238035..6cbe26453e 100644
--- a/e-util/e-event.c
+++ b/e-util/e-event.c
@@ -249,7 +249,7 @@ e_event_emit(EEvent *emp, const gchar *id, EEventTarget *target)
d(printf("emit event %s\n", id));
- if (emp->target != NULL){
+ if (emp->target != NULL) {
g_warning ("Event already in progress.\n");
return;
}
diff --git a/e-util/e-icon-factory.c b/e-util/e-icon-factory.c
index 85985ef673..1336164347 100644
--- a/e-util/e-icon-factory.c
+++ b/e-util/e-icon-factory.c
@@ -152,7 +152,7 @@ load_icon (const gchar *icon_key, const gchar *icon_name, gint size, gint scale)
g_free (filename);
if (unscaled != NULL) {
- if(gdk_pixbuf_get_width(unscaled) != size || gdk_pixbuf_get_height(unscaled) != size)
+ if (gdk_pixbuf_get_width(unscaled) != size || gdk_pixbuf_get_height(unscaled) != size)
{
pixbuf = e_icon_factory_pixbuf_scale (unscaled, size, size);
g_object_unref (unscaled);
diff --git a/e-util/e-text-event-processor-emacs-like.c b/e-util/e-text-event-processor-emacs-like.c
index 8f44c0c2a2..7e70d1b731 100644
--- a/e-util/e-text-event-processor-emacs-like.c
+++ b/e-util/e-text-event-processor-emacs-like.c
@@ -192,7 +192,7 @@ e_text_event_processor_emacs_like_event (ETextEventProcessor *tep, ETextEventPro
command.action = E_TEP_NOP;
else
command.action = E_TEP_MOVE;
- switch(key.keyval) {
+ switch (key.keyval) {
case GDK_Home:
case GDK_KP_Home:
if (key.state & GDK_CONTROL_MASK)
@@ -275,7 +275,7 @@ e_text_event_processor_emacs_like_event (ETextEventProcessor *tep, ETextEventPro
break;
case GDK_Delete:
case GDK_KP_Delete:
- if (key.state & GDK_CONTROL_MASK){
+ if (key.state & GDK_CONTROL_MASK) {
command.action = E_TEP_DELETE;
command.position = E_TEP_FORWARD_WORD;
} else if (key.state & GDK_SHIFT_MASK) {
diff --git a/e-util/e-util.c b/e-util/e-util.c
index 806960eeea..ebd4251b00 100644
--- a/e-util/e-util.c
+++ b/e-util/e-util.c
@@ -1297,7 +1297,7 @@ e_file_lock_create ()
gboolean status = FALSE;
gint fd = g_creat (fname, S_IRUSR|S_IWUSR);
- if (fd == -1){
+ if (fd == -1) {
g_warning ("Lock file '%s' creation failed, error %d\n", fname, errno);
} else {
status = TRUE;
@@ -1312,7 +1312,7 @@ e_file_lock_destroy ()
{
const gchar *fname = get_lock_filename ();
- if (g_unlink (fname) == -1){
+ if (g_unlink (fname) == -1) {
g_warning ("Lock destroy: failed to unlink file '%s'!",fname);
}
}