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

« back to all changes in this revision

Viewing changes to gtk/gtkmm/fontselection.cc

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2012-03-01 23:42:36 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20120301234236-12w6m0hkomhi7h53
Tags: 3.3.16-0ubuntu1
* New upstream version
* debian/control.in: updated the glib requirement

Show diffs side-by-side

added added

removed removed

Lines of Context:
243
243
 
244
244
void FontSelection::set_preview_text(const Glib::ustring& fontname)
245
245
{
246
 
gtk_font_selection_set_preview_text(gobj(), fontname.c_str()); 
 
246
  gtk_font_selection_set_preview_text(gobj(), fontname.c_str()); 
247
247
}
248
248
 
249
249
 
 
250
#ifndef GTKMM_DISABLE_DEPRECATED
 
251
 
250
252
#ifdef GLIBMM_PROPERTIES_ENABLED
251
253
Glib::PropertyProxy< Glib::ustring > FontSelection::property_font_name() 
252
254
{
253
255
  return Glib::PropertyProxy< Glib::ustring >(this, "font-name");
254
256
}
 
257
#endif // GTKMM_DISABLE_DEPRECATED
 
258
 
255
259
#endif //GLIBMM_PROPERTIES_ENABLED
256
260
 
257
261
#ifdef GLIBMM_PROPERTIES_ENABLED
261
265
}
262
266
#endif //GLIBMM_PROPERTIES_ENABLED
263
267
 
 
268
#ifndef GTKMM_DISABLE_DEPRECATED
 
269
 
264
270
#ifdef GLIBMM_PROPERTIES_ENABLED
265
271
Glib::PropertyProxy< Glib::ustring > FontSelection::property_preview_text() 
266
272
{
267
273
  return Glib::PropertyProxy< Glib::ustring >(this, "preview-text");
268
274
}
 
275
#endif // GTKMM_DISABLE_DEPRECATED
 
276
 
269
277
#endif //GLIBMM_PROPERTIES_ENABLED
270
278
 
271
279
#ifdef GLIBMM_PROPERTIES_ENABLED
402
410
 
403
411
void FontSelectionDialog::set_preview_text(const Glib::ustring& fontname)
404
412
{
405
 
gtk_font_selection_dialog_set_preview_text(gobj(), fontname.c_str()); 
 
413
  gtk_font_selection_dialog_set_preview_text(gobj(), fontname.c_str()); 
406
414
}
407
415
 
408
416
Button* FontSelectionDialog::get_ok_button()