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/
This commit is contained in:
Laszlo Peter 2001-12-03 15:22:57 +00:00 committed by László PÉTER
parent 248487a63c
commit 3f05f34286
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
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/
2001-11-27 Havoc Pennington <hp@pobox.com> 2001-11-27 Havoc Pennington <hp@pobox.com>
* src/window.c (constrain_position): change so that window can be * src/window.c (constrain_position): change so that window can be

View File

@ -148,6 +148,7 @@ static void clear_tip (MetaFrames *frames);
enum enum
{ {
dummy, /* remove this when you add more signals */
LAST_SIGNAL LAST_SIGNAL
}; };

View File

@ -4081,7 +4081,7 @@ read_rgb_icon (MetaWindow *window,
if (sizeof (gulong) != 4) if (sizeof (gulong) != 4)
meta_warning ("%s: Whoops, I think this function may be broken on 64-bit\n", 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); meta_error_trap_push (window->display);
type = None; type = None;