Esempio n. 1
0
/**
 * gtr_context_panel_get_context_text_view:
 * @panel: a #GtrContextPanel
 *
 * Returns: (transfer none): the context #GtkTextView
 */
GtkTextView *
gtr_context_panel_get_context_text_view (GtrContextPanel * panel)
{
  g_return_val_if_fail (GTR_IS_CONTEXT_PANEL (panel), NULL);

  return GTK_TEXT_VIEW (panel->priv->context);
}
Esempio n. 2
0
/**
 * gtr_context_panel_get_context_text_view:
 * @panel: a #GtrContextPanel
 *
 * Returns: (transfer none): the context #GtkTextView
 */
GtkTextView *
gtr_context_panel_get_context_text_view (GtrContextPanel * panel)
{
  GtrContextPanelPrivate *priv;

  g_return_val_if_fail (GTR_IS_CONTEXT_PANEL (panel), NULL);

  priv = gtr_context_panel_get_instance_private(panel);
  return GTK_TEXT_VIEW (priv->context);
}