~ubuntu-branches/ubuntu/trusty/glibmm2.4/trusty-proposed

« back to all changes in this revision

Viewing changes to gio/giomm/actiongroup.h

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2014-04-07 13:47:09 UTC
  • mfrom: (1.2.87)
  • Revision ID: package-import@ubuntu.com-20140407134709-wlrea1wrtuy9kpzw
Tags: 2.39.93-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// -*- c++ -*-
2
 
// Generated by gmmproc 2.39.3 -- DO NOT MODIFY!
 
2
// Generated by gmmproc 2.39.93 -- DO NOT MODIFY!
3
3
#ifndef _GIOMM_ACTIONGROUP_H
4
4
#define _GIOMM_ACTIONGROUP_H
5
5
 
603
603
    g_variant_type_equal(g_action_group_get_action_state_type(const_cast<GActionGroup*>(gobj()), action_name.c_str()), type_glib_variant::variant_type().gobj()));
604
604
 
605
605
  const Glib::VariantBase variantBase = get_action_state_variant(action_name);
 
606
 
 
607
  //TODO: Add a bool return instead of letting a std::bad_cast from the cast_dynamic() be thrown up to the caller?
606
608
  const type_glib_variant variantDerived = variantBase.cast_dynamic<type_glib_variant>(variantBase);
607
609
  value = variantDerived.get();
608
610
}