libgimpbase/gimpsignal.h removed remaining EMX ifdefs spotted by David
2004-01-11 Sven Neumann <sven@gimp.org> * libgimpbase/gimpsignal.h * plug-ins/gfig/gfig-preview.c: removed remaining EMX ifdefs spotted by David Odin.
This commit is contained in:
parent
0f0ecb0f9b
commit
4a8f3f7257
2 changed files with 7 additions and 12 deletions
|
|
@ -33,11 +33,6 @@ G_BEGIN_DECLS
|
|||
* ways useful to Gimp.
|
||||
*/
|
||||
|
||||
#ifdef __EMX__
|
||||
/* hope this is right for OS/2 */
|
||||
#define SA_RESTART SA_SYSV
|
||||
#endif
|
||||
|
||||
/* GimpSignalHandlerFunc is a reference to a (signal handler) function
|
||||
* that takes a signal ID and returns void.
|
||||
* signal(2) returns such references; so does gimp_signal_private.
|
||||
|
|
|
|||
|
|
@ -584,9 +584,9 @@ gfig_update_stat_labels (void)
|
|||
|
||||
if (current_obj->filename)
|
||||
{
|
||||
gint slen;
|
||||
gchar *hm = (gchar *) g_get_home_dir ();
|
||||
gchar *dfn = g_strdup (current_obj->filename);
|
||||
gint slen;
|
||||
const gchar *hm = g_get_home_dir ();
|
||||
gchar *dfn = g_strdup (current_obj->filename);
|
||||
|
||||
if (hm != NULL && !strncmp (dfn, hm, strlen (hm)-1))
|
||||
{
|
||||
|
|
@ -602,11 +602,11 @@ gfig_update_stat_labels (void)
|
|||
str[40] ='\0';
|
||||
}
|
||||
else
|
||||
sprintf (str, "%.40s", dfn);
|
||||
{
|
||||
sprintf (str, "%.40s", dfn);
|
||||
}
|
||||
|
||||
g_free (dfn);
|
||||
#ifdef __EMX__
|
||||
g_free (hm);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
sprintf (str,_("<NONE>"));
|
||||
|
|
|
|||
Loading…
Reference in a new issue