aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-03-01 13:38:56 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-03-01 13:40:38 +0100
commita1fa58da987f7e684979b04920a1c581fa5340ba (patch)
tree541e90f98fb6750469a410b9f7548a53cee0cf22
parent5a720b7fa71cc67abdd0466ce1b34ef0012a9432 (diff)
downloadarctica-greeter-a1fa58da987f7e684979b04920a1c581fa5340ba.tar.gz
arctica-greeter-a1fa58da987f7e684979b04920a1c581fa5340ba.tar.bz2
arctica-greeter-a1fa58da987f7e684979b04920a1c581fa5340ba.zip
src/toggle-box.vala: Drop draw() method. Seems unused these days.
-rw-r--r--src/toggle-box.vala14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/toggle-box.vala b/src/toggle-box.vala
index 5301583..ada1947 100644
--- a/src/toggle-box.vala
+++ b/src/toggle-box.vala
@@ -113,20 +113,6 @@ public class ToggleBox : Gtk.Box
orientation = Gtk.Orientation.VERTICAL;
}
- public override bool draw (Cairo.Context c)
- {
- Gtk.Allocation allocation;
- get_allocation (out allocation);
-
- CairoUtils.rounded_rectangle (c, 0, 0, allocation.width,
- allocation.height, 0.1 * grid_size);
- c.set_source_rgba (0.5, 0.5, 0.5, 0.5);
- c.set_line_width (1);
- c.stroke ();
-
- return base.draw (c);
- }
-
private void select (Gtk.Button button)
{
if (selected_button != null)