projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://packetstormsecurity.org/UNIX/admin/xscreensaver-4.05.tar.gz
[xscreensaver]
/
driver
/
demo-Gtk-support.c
diff --git
a/driver/demo-Gtk-support.c
b/driver/demo-Gtk-support.c
index df64c82f164869263f2b2bed25fe5252ea4bfb71..ce5ea475141512a9d05f1f318ee0f18fc72fbe00 100644
(file)
--- a/
driver/demo-Gtk-support.c
+++ b/
driver/demo-Gtk-support.c
@@
-113,12
+113,12
@@
create_pixmap (GtkWidget *widget,
/* If we haven't found the pixmap, try the source directory. */
if (!found_filename)
{
/* If we haven't found the pixmap, try the source directory. */
if (!found_filename)
{
- found_filename = check_file_exists ("", filename);
+ found_filename = check_file_exists ("
../utils/images
", filename);
}
if (!found_filename)
{
}
if (!found_filename)
{
- g_warning (
"Couldn't find pixmap file: %s"
, filename);
+ g_warning (
_("Couldn't find pixmap file: %s")
, filename);
return create_dummy_pixmap (widget);
}
return create_dummy_pixmap (widget);
}
@@
-127,7
+127,7
@@
create_pixmap (GtkWidget *widget,
NULL, found_filename);
if (gdkpixmap == NULL)
{
NULL, found_filename);
if (gdkpixmap == NULL)
{
- g_warning (
"Error loading pixmap file: %s"
, found_filename);
+ g_warning (
_("Error loading pixmap file: %s")
, found_filename);
g_free (found_filename);
return create_dummy_pixmap (widget);
}
g_free (found_filename);
return create_dummy_pixmap (widget);
}
@@
-139,7
+139,7
@@
create_pixmap (GtkWidget *widget,
}
/* This is an internally used function to check if a pixmap file exists. */
}
/* This is an internally used function to check if a pixmap file exists. */
-gchar*
+
static
gchar*
check_file_exists (const gchar *directory,
const gchar *filename)
{
check_file_exists (const gchar *directory,
const gchar *filename)
{