File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,13 @@ with Gtk.Container; use Gtk.Container;
3434
3535package body Create_Css_Accordion is
3636
37+ package FA is new Forall_User_Data (Gtk_Style_Provider);
38+
3739 procedure Run (Frame : access Gtk.Frame.Gtk_Frame_Record'Class) is
3840 Box : Gtk_Box;
3941 Provider : constant Gtk_Css_Provider
4042 := Gtk_Css_Provider_New;
4143 Error : aliased Glib.Error.GError;
42- package FA is new Forall_User_Data (Gtk_Style_Provider);
4344
4445 procedure Apply_Css
4546 (Widget : not null access Gtk.Widget.Gtk_Widget_Record'Class;
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
3636
3737package body Create_Css_Editor is
3838
39+ package FA is new Forall_User_Data (Gtk_Style_Provider);
40+
3941 CSS : constant String :=
4042 " /* You can edit the text in this window to change the" & ASCII.LF
4143 & " * appearance of this Window." & ASCII.LF
@@ -94,8 +96,6 @@ package body Create_Css_Editor is
9496 Text_Buffer : Gtk_Text_Buffer;
9597 Text_View : Gtk_Text_View;
9698
97- package FA is new Forall_User_Data (Gtk_Style_Provider);
98-
9999 procedure Apply_Css
100100 (Widget : not null access Gtk.Widget.Gtk_Widget_Record'Class;
101101 Provider : Gtk_Style_Provider)
You can’t perform that action at this time.
0 commit comments