GNOME Bugzilla – Bug 117177
API-doc: gnome_scores_display_with_pixmap()
Last modified: 2008-09-10 19:48:11 UTC
GtkWidget* gnome_scores_display_with_pixmap (const gchar *pixmap_logo, const gchar *app_name, const gchar *level, int pos); 'pos' is documented as "Position in the top ten of the current player, as returned by gnome_score_log." I have tried the function with various values for pos and it seems to have no effect. What does it do? Is it redundant?
if(pos) gnome_scores_set_current_player(GNOME_SCORES(hs), pos-1); Doesn't look like it's redundant to me at least...
The code should hilight the line indicated by pos. However there is a bug that has been there for some years now which means that this doesn't happen.
But gnome_score_log() doesn't return the position at all. It returns the number of bytes it wrote to the score file if successful and 0 otherwise?!?
WONTFIXing this.