diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-05-15 22:32:57 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-05-15 22:35:51 +0800 |
commit | 03f8968f14e9ce79efd179464a6363255cff3b4c (patch) | |
tree | 5b442c600c57446568a72c6051c277f5d9780d0c /src | |
parent | 02e603f5ac5f5f2751db2ce2cf63fd5ff090db5d (diff) | |
download | gsoc2013-empathy-03f8968f14e9ce79efd179464a6363255cff3b4c.tar gsoc2013-empathy-03f8968f14e9ce79efd179464a6363255cff3b4c.tar.gz gsoc2013-empathy-03f8968f14e9ce79efd179464a6363255cff3b4c.tar.bz2 gsoc2013-empathy-03f8968f14e9ce79efd179464a6363255cff3b4c.tar.lz gsoc2013-empathy-03f8968f14e9ce79efd179464a6363255cff3b4c.tar.xz gsoc2013-empathy-03f8968f14e9ce79efd179464a6363255cff3b4c.tar.zst gsoc2013-empathy-03f8968f14e9ce79efd179464a6363255cff3b4c.zip |
empathy-sidebar: remove trailing spaces
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-sidebar.c | 14 | ||||
-rw-r--r-- | src/empathy-sidebar.h | 6 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/empathy-sidebar.c b/src/empathy-sidebar.c index a66abc757..423d695e8 100644 --- a/src/empathy-sidebar.c +++ b/src/empathy-sidebar.c @@ -3,7 +3,7 @@ * Copyright (C) 2007 The Free Software Foundation * Copyright (C) 2008 Marco Barisione <marco@barisione.org> * - * Based on evince code (shell/ev-sidebar.c) by: + * Based on evince code (shell/ev-sidebar.c) by: * - Jonathan Blandford <jrb@alum.mit.edu> * * Base on eog code (src/eog-sidebar.c) by: @@ -102,7 +102,7 @@ empathy_sidebar_select_page (EmpathySidebar *sidebar, gint index; gtk_tree_model_get (sidebar->priv->page_model, iter, - PAGE_COLUMN_TITLE, &title, + PAGE_COLUMN_TITLE, &title, PAGE_COLUMN_NOTEBOOK_INDEX, &index, -1); @@ -397,7 +397,7 @@ empathy_sidebar_init (EmpathySidebar *sidebar) gtk_widget_show (hbox); sidebar->priv->select_button = gtk_toggle_button_new (); - gtk_button_set_relief (GTK_BUTTON (sidebar->priv->select_button), + gtk_button_set_relief (GTK_BUTTON (sidebar->priv->select_button), GTK_RELIEF_NONE); g_signal_connect (sidebar->priv->select_button, "button_press_event", @@ -514,7 +514,7 @@ empathy_sidebar_add_page (EmpathySidebar *sidebar, -1); gtk_list_store_move_before (GTK_LIST_STORE(sidebar->priv->page_model), - &iter, + &iter, NULL); /* Set the first item added as active */ @@ -571,15 +571,15 @@ empathy_sidebar_remove_page (EmpathySidebar *sidebar, if (valid) { - gtk_notebook_remove_page (GTK_NOTEBOOK (sidebar->priv->notebook), + gtk_notebook_remove_page (GTK_NOTEBOOK (sidebar->priv->notebook), index); gtk_container_remove (GTK_CONTAINER (sidebar->priv->menu), menu_item); - gtk_list_store_remove (GTK_LIST_STORE (sidebar->priv->page_model), + gtk_list_store_remove (GTK_LIST_STORE (sidebar->priv->page_model), &iter); - g_signal_emit (G_OBJECT (sidebar), + g_signal_emit (G_OBJECT (sidebar), signals[SIGNAL_PAGE_REMOVED], 0, main_widget); } } diff --git a/src/empathy-sidebar.h b/src/empathy-sidebar.h index 6e88e789d..4dd38bde5 100644 --- a/src/empathy-sidebar.h +++ b/src/empathy-sidebar.h @@ -3,7 +3,7 @@ * Copyright (C) 2007 The Free Software Foundation * Copyright (C) 2008 Marco Barisione <marco@barisione.org> * - * Based on evince code (shell/ev-sidebar.h) by: + * Based on evince code (shell/ev-sidebar.h) by: * - Jonathan Blandford <jrb@alum.mit.edu> * * Base on eog code (src/eog-sidebar.c) by: @@ -53,10 +53,10 @@ struct _EmpathySidebarClass { GtkVBoxClass base_class; - void (* page_added) (EmpathySidebar *sidebar, + void (* page_added) (EmpathySidebar *sidebar, GtkWidget *main_widget); - void (* page_removed) (EmpathySidebar *sidebar, + void (* page_removed) (EmpathySidebar *sidebar, GtkWidget *main_widget); }; |