~ubuntu-branches/ubuntu/quantal/gtkmm3.0/quantal

« back to all changes in this revision

Viewing changes to gtk/src/builder.ccg

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-09-28 09:25:06 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20120928092506-9h63ais5o750a8sk
Tags: 3.5.13-0ubuntu1
* New upstream release
* debian/control:
  - Bump build-depends on libglibmm-2.4-dev, libgtk-3-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// -*- c++ -*-
2
 
/* $Id: builder.ccg,v 1.11 2006/05/10 20:59:27 murrayc Exp $ */
3
 
 
4
1
/* Copyright 2007 The gtkmm Development Team
5
2
 *
6
3
 * This library is free software; you can redistribute it and/or
22
19
 
23
20
#include <gtk/gtk.h>
24
21
 
25
 
// Allow GtkBuilder to instantiate a gtkmm derived GType instead of the regular 
 
22
// Allow GtkBuilder to instantiate a gtkmm derived GType instead of the regular
26
23
// GTK+ GType, so we can, for instance, use our vfuncs and default signal handlers.
27
24
static GType
28
25
get_type_from_name_vfunc_callback(GtkBuilder*, const char* type_name)
265
262
  GtkWidget *cobject = get_cwidget(name);
266
263
  if(!cobject)
267
264
  {
268
 
    g_critical("gtkmm: Gtk::Buidler: widget `%s' was not found in the GtkBuilder file, or the specified part of it.", 
 
265
    g_critical("gtkmm: Gtk::Buidler: widget `%s' was not found in the GtkBuilder file, or the specified part of it.",
269
266
      name.c_str());
270
267
    return 0;
271
268
  }