DiscDBDiscid(disc));
strncpy(hello.hello_program,"Grip",256);
- strncpy(hello.hello_version,VERSION,256);
+ strncpy(hello.hello_version,PACKAGE_VERSION,256);
if(ginfo->db_use_freedb && !strcasecmp(ginfo->discdb_encoding,"UTF-8"))
hello.proto_version=6;
gtk_label_set(GTK_LABEL(uinfo->play_time_label),buf);
g_snprintf(icon_buf,sizeof(icon_buf),"%02d %s %s",
- disc->curr_track,buf,PACKAGE);
+ disc->curr_track,buf,PACKAGE_NAME);
gdk_window_set_icon_name(uinfo->app->window,icon_buf);
}
}
g_snprintf(buf,80,"%02d:%02d",disc->length.mins,
disc->length.secs);
g_snprintf(icon_buf, sizeof(icon_buf),"%02d %s %s",
- disc->curr_track,buf,PACKAGE);
+ disc->curr_track,buf,PACKAGE_NAME);
gtk_label_set(GTK_LABEL(uinfo->play_time_label),buf);
}
else {
gtk_label_set(GTK_LABEL(uinfo->play_time_label),"--:--");
- strncpy(icon_buf,PACKAGE,sizeof(icon_buf));
+ strncpy(icon_buf,PACKAGE_NAME,sizeof(icon_buf));
SetCurrentTrack(ginfo,-1);
}