mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 07:39:26 +02:00
fixed trayicon compilation under gtk2
git-svn-id: trunk@9322 -
This commit is contained in:
parent
8d4b943024
commit
18b6c31b47
@ -41,11 +41,11 @@ uses
|
||||
|
||||
{$DEFINE read_forward_definitions}
|
||||
type
|
||||
{$I gdk2x11includes.inc}
|
||||
{$I include/gdk2x11includes.inc}
|
||||
{$UNDEF read_forward_definitions}
|
||||
|
||||
{$DEFINE read_interface_rest}
|
||||
{$I gdk2x11includes.inc}
|
||||
{$I include/gdk2x11includes.inc}
|
||||
{$UNDEF read_interface_rest}
|
||||
|
||||
implementation
|
||||
@ -57,7 +57,7 @@ implementation
|
||||
|
||||
// call implementation parts of header files
|
||||
{$DEFINE read_implementation}
|
||||
{$I gdk2x11includes.inc}
|
||||
{$I include/gdk2x11includes.inc}
|
||||
{$UNDEF read_implementation}
|
||||
|
||||
end.
|
||||
|
@ -5,7 +5,8 @@
|
||||
<CompilerOptions>
|
||||
<Version Value="5"/>
|
||||
<SearchPaths>
|
||||
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)/"/>
|
||||
<OtherUnitFiles Value="$(LazarusDir)/components/opengl/gtk2x11/"/>
|
||||
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)"/>
|
||||
</SearchPaths>
|
||||
<CodeGeneration>
|
||||
<Generate Value="Faster"/>
|
||||
@ -19,7 +20,7 @@
|
||||
<Item1>
|
||||
<Filename Value="wswin32trayicon.pas"/>
|
||||
<AddToUsesPkgSection Value="False"/>
|
||||
<UnitName Value="WSWin32TrayIcon"/>
|
||||
<UnitName Value="wswin32trayicon"/>
|
||||
</Item1>
|
||||
<Item2>
|
||||
<Filename Value="trayicon.pas"/>
|
||||
@ -29,16 +30,16 @@
|
||||
<Item3>
|
||||
<Filename Value="wsgtk2trayicon.pas"/>
|
||||
<AddToUsesPkgSection Value="False"/>
|
||||
<UnitName Value="WSGtk2TrayIcon"/>
|
||||
<UnitName Value="wsgtk2trayicon"/>
|
||||
</Item3>
|
||||
<Item4>
|
||||
<Filename Value="wsgtktrayicon.pas"/>
|
||||
<AddToUsesPkgSection Value="False"/>
|
||||
<UnitName Value="WSGtkTrayIcon"/>
|
||||
<UnitName Value="wsgtktrayicon"/>
|
||||
</Item4>
|
||||
<Item5>
|
||||
<Filename Value="wstrayicon.pas"/>
|
||||
<UnitName Value="WSTrayIcon"/>
|
||||
<UnitName Value="wstrayicon"/>
|
||||
</Item5>
|
||||
</Files>
|
||||
<Type Value="RunAndDesignTime"/>
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
Common code to all widgetsets.
|
||||
}
|
||||
unit wscommontrayicon;
|
||||
unit WSCommonTrayIcon;
|
||||
|
||||
{$ifdef FPC}
|
||||
{$mode delphi}{$H+}
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
Gtk2 specific code.
|
||||
}
|
||||
unit wsgtk2trayicon;
|
||||
unit WSGtk2TrayIcon;
|
||||
|
||||
{$ifdef FPC}
|
||||
{$mode delphi}{$H+}
|
||||
@ -30,7 +30,7 @@ interface
|
||||
|
||||
uses
|
||||
Graphics, Classes, ExtCtrls, SysUtils, Forms, Controls, Dialogs,
|
||||
Menus, wscommontrayicon, x, xlib, xutil, gtk2, gdk2, gdk2x, glib2, gtkdef;
|
||||
Menus, WSCommonTrayIcon, x, xlib, xutil, gtk2, gdk2, gdk2x, glib2, gtkdef;
|
||||
|
||||
type
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
Win32 specific code.
|
||||
}
|
||||
unit wswin32trayicon;
|
||||
unit WSWin32TrayIcon;
|
||||
|
||||
{$ifdef FPC}
|
||||
{$mode delphi}{$H+}
|
||||
@ -28,7 +28,7 @@ interface
|
||||
|
||||
uses
|
||||
Windows, Classes, SysUtils, Graphics, Menus, Forms, Controls,
|
||||
wscommontrayicon;
|
||||
WSCommonTrayIcon;
|
||||
|
||||
type
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user