~ubuntu-branches/ubuntu/natty/poppler/natty-proposed

« back to all changes in this revision

Viewing changes to glib/demo/attachments.c

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2011-01-13 21:32:30 UTC
  • mfrom: (1.5.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110113213230-0rmd29fcww6e28sx
Tags: 0.16.0-0ubuntu1
* New upstream release
* Drop Qt 3 build-depend and packages, no longer used, remove --enable-poppler-qt
* libpoppler7 renamed to libpoppler12
* libpoppler-glib5 renamed to libpoppler-glib6

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
                
180
180
}
181
181
 
182
 
#if GLIB_CHECK_VERSION(2, 16, 0)
183
182
static gboolean
184
183
attachment_save_callback (const gchar  *buf,
185
184
                          gsize         count,
270
269
        g_free (digest);
271
270
        g_object_unref (attachment);
272
271
}
273
 
#endif
274
272
 
275
273
GtkWidget *
276
274
pgd_attachments_create_widget (PopplerDocument *document)
340
338
        gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
341
339
        gtk_widget_show (button);
342
340
 
343
 
#if GLIB_CHECK_VERSION(2, 16, 0)
344
341
        button = gtk_button_new_with_label ("Validate");
345
342
        g_signal_connect (G_OBJECT (button), "clicked",
346
343
                          G_CALLBACK (pgd_attachments_validate_button_clicked),
348
345
 
349
346
        gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
350
347
        gtk_widget_show (button);
351
 
#endif
352
 
        
353
348
 
354
349
        gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, TRUE, 6);
355
350
        gtk_widget_show (hbox);