/src/libide/debugger/ide-debugger-controls.c

https://gitlab.com/tchaik/gnome-builder · C · 41 lines · 18 code · 6 blank · 17 comment · 0 complexity · 94e67fdd56d0a69aa217242b36934474 MD5 · raw file

  1. /* ide-debugger-controls.c
  2. *
  3. * Copyright 2017 Christian Hergert <chergert@redhat.com>
  4. *
  5. * This program is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation, either version 3 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #include "debugger/ide-debugger-controls.h"
  19. struct _IdeDebuggerControls
  20. {
  21. GtkBin parent_instance;
  22. };
  23. G_DEFINE_TYPE (IdeDebuggerControls, ide_debugger_controls, GTK_TYPE_REVEALER)
  24. static void
  25. ide_debugger_controls_class_init (IdeDebuggerControlsClass *klass)
  26. {
  27. GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
  28. gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/builder/ui/ide-debugger-controls.ui");
  29. gtk_widget_class_set_css_name (widget_class, "idedebuggercontrols");
  30. }
  31. static void
  32. ide_debugger_controls_init (IdeDebuggerControls *self)
  33. {
  34. gtk_widget_init_template (GTK_WIDGET (self));
  35. }