changeset 36777:f53aa813deeb

Prefer NULL. Use it to indicate that no data will be passed.
author ib
date Mon, 17 Feb 2014 02:40:30 +0000
parents 5ea757ca6270
children 1045c5762718
files gui/dialog/playlist.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/playlist.c	Mon Feb 17 02:30:49 2014 +0000
+++ b/gui/dialog/playlist.c	Mon Feb 17 02:40:30 2014 +0000
@@ -465,8 +465,8 @@
   gtk_scrolled_window_set_policy( GTK_SCROLLED_WINDOW( scrolledwindow1 ),GTK_POLICY_AUTOMATIC,GTK_POLICY_AUTOMATIC );
 
   CTDirTree=gtk_ctree_new( 1,0 );
-  gtk_signal_connect( GTK_OBJECT( CTDirTree ),"tree-expand",GTK_SIGNAL_FUNC( plCTree ),(void*)0 );
-  gtk_signal_connect( GTK_OBJECT( CTDirTree ),"select-row",GTK_SIGNAL_FUNC( plCTRow ),(void *)0 );
+  gtk_signal_connect( GTK_OBJECT( CTDirTree ),"tree-expand",GTK_SIGNAL_FUNC( plCTree ),NULL );
+  gtk_signal_connect( GTK_OBJECT( CTDirTree ),"select-row",GTK_SIGNAL_FUNC( plCTRow ),NULL );
   gtk_container_add( GTK_CONTAINER( scrolledwindow1 ),CTDirTree );
   gtk_clist_set_column_auto_resize( GTK_CLIST( CTDirTree ),0,TRUE );
   gtk_clist_set_column_width( GTK_CLIST( CTDirTree ),0,80 );