~ubuntu-branches/ubuntu/precise/glom/precise

« back to all changes in this revision

Viewing changes to glom/utility_widgets/imageglom.cc

  • Committer: Package Import Robot
  • Author(s): Daniel Holbach
  • Date: 2011-09-13 11:04:29 UTC
  • mfrom: (1.1.46 upstream)
  • Revision ID: package-import@ubuntu.com-20110913110429-39c9eh8ez2qg0aq4
Tags: 1.18.3-0ubuntu1
* New upstream release, fixes FTBFS (LP: #749267).
* debian/watch: updated.
* Updated to 1.18 ABI.
* debian/control: 
  - update build depends,
  - added libxml++2.6-dev depends to libglom-1.18-dev (LP: #736913).
* Use dh_python2.
* Don't ship internal libjs-underscore, use system version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
244
244
    {
245
245
      gchar* buffer = 0;
246
246
      gsize buffer_size = 0;
247
 
      std::list<Glib::ustring> list_keys;
248
 
      std::list<Glib::ustring> list_values;
 
247
      std::vector<Glib::ustring> list_keys;
 
248
      std::vector<Glib::ustring> list_values;
249
249
      //list_keys.push_back("quality"); //For jpeg only.
250
250
      //list_values.push_back("95");
251
251
 
430
430
  Glib::RefPtr<Gtk::Clipboard> refClipboard = Gtk::Clipboard::get();
431
431
 
432
432
  //Targets:
433
 
  std::list<Gtk::TargetEntry> listTargets;
434
 
 
 
433
  std::vector<Gtk::TargetEntry> listTargets;
435
434
  listTargets.push_back( Gtk::TargetEntry(GLOM_IMAGE_FORMAT_MIME_TYPE) );
436
435
 
437
436
  refClipboard->set( listTargets, sigc::mem_fun(*this, &ImageGlom::on_clipboard_get), sigc::mem_fun(*this, &ImageGlom::on_clipboard_clear) );