aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-config.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-06-05 04:53:10 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:26 +0800
commite7954c3f251aabbf95d099159709c8c66dfedc44 (patch)
tree08b6fbba02f05aa622cd54f45da223ef43066bb3 /widgets/table/e-table-config.c
parentdcaf6c52082765c2586a7d35b56b3dc417aa988d (diff)
downloadgsoc2013-evolution-e7954c3f251aabbf95d099159709c8c66dfedc44.tar
gsoc2013-evolution-e7954c3f251aabbf95d099159709c8c66dfedc44.tar.gz
gsoc2013-evolution-e7954c3f251aabbf95d099159709c8c66dfedc44.tar.bz2
gsoc2013-evolution-e7954c3f251aabbf95d099159709c8c66dfedc44.tar.lz
gsoc2013-evolution-e7954c3f251aabbf95d099159709c8c66dfedc44.tar.xz
gsoc2013-evolution-e7954c3f251aabbf95d099159709c8c66dfedc44.tar.zst
gsoc2013-evolution-e7954c3f251aabbf95d099159709c8c66dfedc44.zip
Coding style and whitespace cleanups.
Diffstat (limited to 'widgets/table/e-table-config.c')
-rw-r--r--widgets/table/e-table-config.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/widgets/table/e-table-config.c b/widgets/table/e-table-config.c
index 9b85cd3b85..4bfb80d1e9 100644
--- a/widgets/table/e-table-config.c
+++ b/widgets/table/e-table-config.c
@@ -1398,19 +1398,19 @@ e_table_config_construct (ETableConfig *config,
* Returns: The config object.
*/
ETableConfig *
-e_table_config_new (const gchar *header,
- ETableSpecification *spec,
- ETableState *state,
- GtkWindow *parent_window)
+e_table_config_new (const gchar *header,
+ ETableSpecification *spec,
+ ETableState *state,
+ GtkWindow *parent_window)
{
- ETableConfig *config = g_object_new (E_TYPE_TABLE_CONFIG, NULL);
+ ETableConfig *config;
GtkDialog *dialog;
GtkWidget *widget;
- if (e_table_config_construct (config, header, spec, state, parent_window) == NULL) {
- g_object_unref (config);
- return NULL;
- }
+ config = g_object_new (E_TYPE_TABLE_CONFIG, NULL);
+
+ e_table_config_construct (
+ config, header, spec, state, parent_window);
dialog = GTK_DIALOG (config->dialog_toplevel);