summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaszlo Peter <laca@ireland.sun.com>2001-12-03 15:22:57 +0000
committerLászló PÉTER <laca@src.gnome.org>2001-12-03 15:22:57 +0000
commit3f05f342861581ad147697a857b3b1980023cf6f (patch)
tree0abc95d0b9b38e388a1880b716329608652df10b /src
parent248487a63c33b66cc05018f0ca49f6c00e4d220d (diff)
downloadmetacity-3f05f342861581ad147697a857b3b1980023cf6f.tar.gz
metacity-3f05f342861581ad147697a857b3b1980023cf6f.tar.bz2
add a dummy element to the enum so the signals array is not empty. (breaks
2001-12-03 Laszlo Peter <laca@ireland.sun.com> * src/frames.c: add a dummy element to the enum so the signals array is not empty. (breaks the build with Forte C) * src/window.c: s/__FUNCTION__/G_GNUC_FUNCTION/
Diffstat (limited to 'src')
-rw-r--r--src/frames.c1
-rw-r--r--src/window.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/frames.c b/src/frames.c
index 15b3e42..cc48045 100644
--- a/src/frames.c
+++ b/src/frames.c
@@ -148,6 +148,7 @@ static void clear_tip (MetaFrames *frames);
enum
{
+ dummy, /* remove this when you add more signals */
LAST_SIGNAL
};
diff --git a/src/window.c b/src/window.c
index 0c47f96..aa17a8c 100644
--- a/src/window.c
+++ b/src/window.c
@@ -4081,7 +4081,7 @@ read_rgb_icon (MetaWindow *window,
if (sizeof (gulong) != 4)
meta_warning ("%s: Whoops, I think this function may be broken on 64-bit\n",
- __FUNCTION__);
+ G_GNUC_FUNCTION);
meta_error_trap_push (window->display);
type = None;