s/__FUNCTION__/G_GNUC_FUNCTION/ ditto ditto ditto change "test $x == y" to
2002-01-28 Laszlo Peter <laca@ireland.sun.com> * archiver/location.c: s/__FUNCTION__/G_GNUC_FUNCTION/ * capplets/common/capplet-util.c: ditto * capplets/common/capplet-util.h: ditto * libbackground/preferences.c: ditto * applets/common/wrapper-script.in: change "test $x == y" to "test $x = y" for portability
This commit is contained in:
parent
66fa37fc6e
commit
a02d04c48b
6 changed files with 17 additions and 8 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
2002-01-28 Laszlo Peter <laca@ireland.sun.com>
|
||||||
|
|
||||||
|
* archiver/location.c: s/__FUNCTION__/G_GNUC_FUNCTION/
|
||||||
|
* capplets/common/capplet-util.c: ditto
|
||||||
|
* capplets/common/capplet-util.h: ditto
|
||||||
|
* libbackground/preferences.c: ditto
|
||||||
|
* applets/common/wrapper-script.in: change "test $x == y" to
|
||||||
|
"test $x = y" for portability
|
||||||
|
|
||||||
2002-01-27 Richard Hestilow <hestilow@ximian.com>
|
2002-01-27 Richard Hestilow <hestilow@ximian.com>
|
||||||
|
|
||||||
* Makefile.am (CLEANFILES): Rename as MAINTAINERCLEANFILES.
|
* Makefile.am (CLEANFILES): Rename as MAINTAINERCLEANFILES.
|
||||||
|
|
|
@ -679,11 +679,11 @@ location_do_rollback (Location *location, gchar *backend_id, xmlDocPtr doc)
|
||||||
|
|
||||||
if (fflush (output) == EOF)
|
if (fflush (output) == EOF)
|
||||||
g_critical ("%s: Could not dump buffer: %s",
|
g_critical ("%s: Could not dump buffer: %s",
|
||||||
__FUNCTION__, g_strerror (errno));
|
G_GNUC_FUNCTION, g_strerror (errno));
|
||||||
|
|
||||||
if (fclose (output) == EOF) {
|
if (fclose (output) == EOF) {
|
||||||
g_critical ("%s: Could not close output stream: %s",
|
g_critical ("%s: Could not close output stream: %s",
|
||||||
__FUNCTION__, g_strerror (errno));
|
G_GNUC_FUNCTION, g_strerror (errno));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -724,7 +724,7 @@ location_delete (Location *location)
|
||||||
|
|
||||||
if (rmdir (location->p->fullpath) == -1)
|
if (rmdir (location->p->fullpath) == -1)
|
||||||
g_warning ("%s: Could not remove directory: %s\n",
|
g_warning ("%s: Could not remove directory: %s\n",
|
||||||
__FUNCTION__, g_strerror (errno));
|
G_GNUC_FUNCTION, g_strerror (errno));
|
||||||
|
|
||||||
location->p->deleted = TRUE;
|
location->p->deleted = TRUE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,7 +101,7 @@ create_control_cb (BonoboGenericFactory *factory, const gchar *component_id)
|
||||||
|
|
||||||
static const gchar *prefix1 = "OAFIID:Bonobo_Control_Capplet_";
|
static const gchar *prefix1 = "OAFIID:Bonobo_Control_Capplet_";
|
||||||
|
|
||||||
g_message ("%s: Enter", __FUNCTION__);
|
g_message ("%s: Enter", G_GNUC_FUNCTION);
|
||||||
|
|
||||||
if (!strncmp (component_id, prefix1, strlen (prefix1))) {
|
if (!strncmp (component_id, prefix1, strlen (prefix1))) {
|
||||||
property_control = bonobo_property_control_new
|
property_control = bonobo_property_control_new
|
||||||
|
|
|
@ -32,9 +32,9 @@
|
||||||
|
|
||||||
/* Print a debugging message */
|
/* Print a debugging message */
|
||||||
|
|
||||||
#define DEBUG_MSG(str, args...) \
|
#define DEBUG_MSG(str, ...) \
|
||||||
g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "(%d:%s) " str, \
|
g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "(%d:%s) " str, \
|
||||||
getpid (), __FUNCTION__ , ## args)
|
getpid (), G_GNUC_FUNCTION, __VA_ARGS__)
|
||||||
|
|
||||||
/* Retrieve a widget from the Glade object */
|
/* Retrieve a widget from the Glade object */
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if test "x$#" == "x0"
|
if test "x$#" = "x0"
|
||||||
then
|
then
|
||||||
@BINDIR@/gnomecc --run-capplet @CAPPLET_NAME@
|
@BINDIR@/gnomecc --run-capplet @CAPPLET_NAME@
|
||||||
else
|
else
|
||||||
|
|
|
@ -250,7 +250,7 @@ bg_preferences_merge_entry (BGPreferences *prefs,
|
||||||
else if (!strcmp (entry->key, "/desktop/gnome/background/wallpaper-type")) {
|
else if (!strcmp (entry->key, "/desktop/gnome/background/wallpaper-type")) {
|
||||||
prefs->wallpaper_type = gconf_value_get_int (value);
|
prefs->wallpaper_type = gconf_value_get_int (value);
|
||||||
} else {
|
} else {
|
||||||
g_warning ("%s: Unknown property: %s", __FUNCTION__, entry->key);
|
g_warning ("%s: Unknown property: %s", G_GNUC_FUNCTION, entry->key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue