~ubuntu-branches/ubuntu/precise/gnome-games/precise-proposed

« back to all changes in this revision

Viewing changes to aisleriot/lib/ar-card-theme-svg.c

  • Committer: Package Import Robot
  • Author(s): Rodrigo Moya
  • Date: 2011-05-30 13:32:04 UTC
  • mfrom: (1.3.4)
  • mto: (163.1.3 precise)
  • mto: This revision was merged to the branch mainline in revision 143.
  • Revision ID: package-import@ubuntu.com-20110530133204-celaq1v1dsxc48q1
Tags: upstream-3.0.2
ImportĀ upstreamĀ versionĀ 3.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
184
184
  if (!_ar_card_theme_class_foreach_env (klass, "AR_CARD_THEME_PATH_SVG", callback, data))
185
185
    return FALSE;
186
186
 
187
 
  return callback (klass, games_runtime_get_directory (GAMES_RUNTIME_SCALABLE_CARDS_DIRECTORY), data);
 
187
  if (!callback (klass, games_runtime_get_directory (GAMES_RUNTIME_SCALABLE_CARDS_DIRECTORY), data))
 
188
    return FALSE;
 
189
 
 
190
  /* If we're installed in a non-system prefix, also load the card themes
 
191
   * from the system prefix.
 
192
   */
 
193
  if (!games_runtime_is_system_prefix ())
 
194
    return callback (klass, "/usr/share/gnome-games-common/cards", data);
 
195
 
 
196
  return TRUE;
188
197
}
189
198
 
190
199
static void