Commit Graph

9 Commits

Author SHA1 Message Date
Chun-wei Fan
1a5a65acd0 tests/testmountoperation.c: Fix build on Windows
Sadly, we can't just use an interger for a GPid on Windows, so just cast
it.  Sounds silly for non-Windows, but that's life...
2022-10-17 12:36:17 +08:00
Matthias Clasen
e1f69ea278 testmountoperation: Test process dialog
Without this, it is hard to trigger the
dialog. Event with this, we have to force
GtkMountOperation to use its own dialog.
2022-10-04 21:26:07 -04:00
Benjamin Otte
d7266b25ba Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
Matthias Clasen
a6c5466900 Stop using gtk_main and gtk_main_quit
Replace these calls with direct use of GMainContext api.
2020-02-09 23:12:32 -05:00
Matthias Clasen
2c7e567f05 Update callers
Adapt all our tests and examples to the new initialization api.
2017-01-19 13:50:17 -05:00
Javier Jardón
9d0febc9a6 Change FSF Address 2012-02-27 17:06:11 +00:00
Johan Dahlin
d97cdbdf53 Include "config.h" instead of <config.h> Command used: find -name
2008-06-21  Johan Dahlin  <jdahlin@async.com.br>

    * *.[ch]: Include "config.h" instead of <config.h>
    Command used:
    find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
    Rubberstamped by Mitch and Tim


svn path=/trunk/; revision=20669
2008-06-22 14:28:52 +00:00
Michael Natterer
c75c6bf444 perf/widgets.h tests/print-editor.c tests/prop-editor.h
2008-05-23  Michael Natterer  <mitch@gimp.org>

	* perf/widgets.h
	* tests/print-editor.c
	* tests/prop-editor.h
	* tests/testmountoperation.c
	* tests/testmultidisplay.c
	* tests/testnouiprint.c
	* tests/testprint.c
	* tests/testprintfileoperation.h
	* tests/testtreesort.c
	* tests/textbuffertest.c: include <gtk/gtk.h> instead of single
	files. Remove some redundant includes.


svn path=/trunk/; revision=20128
2008-05-23 14:55:43 +00:00
Christian Kellner
e1092e9a60 Implement GtkMountOperation, a subclass of GMountOperation to be used with
2008-03-17  Christian Kellner  <gicmo@gnome.org>

        Implement GtkMountOperation, a subclass of GMountOperation
        to be used with gio wherever there is the need to ask the
        user for credentials or questions while mounting a volume.
        This is bug #522245

        * gtk/gtkmountoperation.c:
        * gtk/gtkmountoperation.h:      
        Implement GtkMountOperation.
        
        * gtk/gtk.h: Add gtkmountoperation.h
        * gtk/Makefile.am: Add gtkmountoperation.[hc]
        * gtk/gtk.symbols: Add symbols of GtkMountOperation.
        * tests/testmountoperation.c: Test program for it.
        * tests/Makefile.am: Add testmountoperation.


svn path=/trunk/; revision=19894
2008-03-17 17:29:55 +00:00