[gnome-builder/wip/plugins] workbench: add view grid helper



commit a0ab64d1151b7a78e46827d69b6edb3871d362d5
Author: Christian Hergert <christian hergert me>
Date:   Sun Jun 7 22:25:32 2015 -0700

    workbench: add view grid helper

 src/workbench/gb-workbench.c |    8 ++++++++
 src/workbench/gb-workbench.h |    1 +
 2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/workbench/gb-workbench.c b/src/workbench/gb-workbench.c
index 9979263..5ccaf4b 100644
--- a/src/workbench/gb-workbench.c
+++ b/src/workbench/gb-workbench.c
@@ -896,3 +896,11 @@ gb_workbench_get_workspace (GbWorkbench *self)
 
   return GTK_WIDGET (self->workspace);
 }
+
+GtkWidget *
+gb_workbench_get_view_grid (GbWorkbench *self)
+{
+  g_return_val_if_fail (GB_IS_WORKBENCH (self), NULL);
+
+  return self->view_grid;
+}
diff --git a/src/workbench/gb-workbench.h b/src/workbench/gb-workbench.h
index 6e03939..e4f84d4 100644
--- a/src/workbench/gb-workbench.h
+++ b/src/workbench/gb-workbench.h
@@ -49,6 +49,7 @@ void              gb_workbench_views_foreach        (GbWorkbench         *self,
                                                      GtkCallback          callback,
                                                      gpointer             callback_data);
 GtkWidget        *gb_workbench_get_workspace        (GbWorkbench         *self);
+GtkWidget        *gb_workbench_get_view_grid        (GbWorkbench         *self);
 
 G_END_DECLS
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]