summaryrefslogtreecommitdiff
path: root/cut-n-paste-code/widgets/e-paned/e-vpaned.c
diff options
context:
space:
mode:
Diffstat (limited to 'cut-n-paste-code/widgets/e-paned/e-vpaned.c')
-rw-r--r--cut-n-paste-code/widgets/e-paned/e-vpaned.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/cut-n-paste-code/widgets/e-paned/e-vpaned.c b/cut-n-paste-code/widgets/e-paned/e-vpaned.c
index 0a093af2d..2b99334b5 100644
--- a/cut-n-paste-code/widgets/e-paned/e-vpaned.c
+++ b/cut-n-paste-code/widgets/e-paned/e-vpaned.c
@@ -111,11 +111,7 @@ e_vpaned_init (EVPaned *vpaned)
GtkWidget *
e_vpaned_new (void)
{
- EVPaned *vpaned;
-
- vpaned = gtk_type_new (E_TYPE_VPANED);
-
- return GTK_WIDGET (vpaned);
+ return gtk_widget_new (E_TYPE_VPANED, NULL);
}
static void