Matthias Clasen
64d3323a33
Declare in a way grokked by gtk-doc.
...
2006-04-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintsettings.h (GtkPageRange): Declare in a way grokked by gtk-doc.
2006-04-24 18:31:48 +00:00
Matthias Clasen
34f4da23f2
Documentation fixes.
...
* gdk/gdkregion-generic.c: Documentation fixes.
* gdk/directfb/gdkmain-directfb.c: Make the comment not look like
a doc comment.
2006-04-24 18:23:55 +00:00
Matthias Clasen
96d37bc2ee
Add docs.
...
2006-04-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintunixdialog.c: Add docs.
* gtk/gtkstatusicon.c (gtk_status_icon_get_visible): Typo fix.
2006-04-24 17:51:51 +00:00
Matthias Clasen
2e9cc2f693
Refactor the gtk_print_operation_run() code and add an _async version.
...
2006-04-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtkprintoperation.c (gtk_print_operation_run_async): Refactor the
gtk_print_operation_run() code and add an _async version.
* gtk/gtkprintoperation-private.h:
* gtk/gtkprintoperation-unix.c
(_gtk_print_operation_platform_backend_run_dialog_async)
(gtk_print_run_page_setup_dialog_async): Variants of the run functions
which don't call gtk_dialog_run(), but only show the dialog and return,
and handle the response in a signal handler.
* gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog_async)
(_gtk_print_operation_platform_backend_run_dialog_async): Implement these
by calling the sync versions.
2006-04-24 17:00:44 +00:00
Alexander Larsson
7261cff2d7
Don't ref the backend since the backend owns the printer.
...
2006-04-24 Alexander Larsson <alexl@redhat.com>
* gtk/gtkprinter.c:
Don't ref the backend since the backend owns the printer.
2006-04-24 16:18:05 +00:00
Alexander Larsson
5ead07e1b2
Remove spew.
...
2006-04-24 Alexander Larsson <alexl@redhat.com>
* gtk/gtkpagesetupunixdialog.c (update_combo_sensitivity_from_printers):
Remove spew.
2006-04-24 15:53:47 +00:00
Alexander Larsson
b19d118e6a
Even/Odd Pages -> Even/Odd Sheets
...
2006-04-24 Alexander Larsson <alexl@redhat.com>
* gtk/gtkprintunixdialog.c (create_page_setup_page):
Even/Odd Pages -> Even/Odd Sheets
2006-04-24 15:52:28 +00:00
Matthias Clasen
9523e186dc
Cleanups
2006-04-24 15:23:24 +00:00
Matthias Clasen
16eadc829a
Remove redundant code.
...
2006-04-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_get_page_setup):
Remove redundant code.
2006-04-24 15:08:18 +00:00
Matthias Clasen
738960c95e
Install gtkprintjob.h as Unix-specific print API.
...
2006-04-24 Matthias Clasen <mclasen@redhat.com>
* gtk/Makefile.am: Install gtkprintjob.h as Unix-specific print API.
2006-04-24 15:01:16 +00:00
Matthias Clasen
3d07d219e5
Return a copy of the original page setup if the dialog was canceled.
...
2006-04-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation-unix.c (gtk_print_run_page_setup_dialog):
Return a copy of the original page setup if the dialog was canceled.
2006-04-24 14:37:45 +00:00
Alexander Larsson
c8f0d210fb
Declare GtkPrintJob.
...
2006-04-24 Alexander Larsson <alexl@redhat.com>
* gtk/gtkprintjob.h:
Declare GtkPrintJob.
* gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_settings):
Change g_return_if_fail to g_return_val_if_fail.
2006-04-24 09:27:40 +00:00
Alexander Larsson
98e12dd91a
Check for cairo-pdf.h. Check for cairo-ps.h on non-win32.
...
2006-04-24 Alexander Larsson <alexl@redhat.com>
* configure.in:
Check for cairo-pdf.h.
Check for cairo-ps.h on non-win32.
2006-04-24 07:34:11 +00:00
Matthias Clasen
0d10969b9f
Match parameter names with the headers.
...
2006-04-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkclipboard.h:
* gtk/gtkprinter.c:
* gtk/gtkprintsettings.h:
* gtk/gtkprintsettings.c: Match parameter names with the headers.
* gtk/gtkprintoperation-unix.c (gtk_print_run_page_setup_dialog):
Add docs.
* gtk/gtktextbufferrichtext.c (gtk_text_buffer_deserialize):
* gtk/gtkstatusicon.c (gtk_status_icon_get_storage_type):
* gtk/gtktreeview.c (gtk_tree_view_set_search_position_func):
* gtk/gtktreeview.c (gtk_tree_view_get_headers_clickable):
* gtk/gtkcellrendererspin.c (gtk_cell_renderer_spin_new):
* gtk/gtkmenu.c (gtk_menu_get_for_attach_widget): Fix the docs.
2006-04-24 05:42:12 +00:00
Matthias Clasen
090de9058f
Don't declare GtkPrintJob here. Instead include gtkprintjob.h.
...
2006-04-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprinter.h: Don't declare GtkPrintJob here.
* gtk/gtkprinter-private.h: Instead include gtkprintjob.h.
2006-04-24 04:38:08 +00:00
Matthias Clasen
8cf2909eb6
Use g types, add documentation, and some stylistic fixups.
...
2006-04-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprinter-private.h:
* gtk/gtkprintbackend.h:
* gtk/gtkprinter.[hc]:
* gtk/gtkprintjob.[hc]: Use g types, add documentation, and some
stylistic fixups.
* gtk/gtkaboutdialog.c (activate_url): Avoid a compiler warning.
2006-04-24 03:47:22 +00:00
Matthias Clasen
60eca1efd8
Use g types, add documentation.
...
2006-04-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkpapersize.[hc]: Use g types, add documentation.
1
2006-04-23 06:26:10 +00:00
Matthias Clasen
935482e3b2
Add gtkprintutils.[hc]
...
2006-04-23 Matthias Clasen <mclasen@redhat.com>
* gtk/Makefile.am: Add gtkprintutils.[hc]
* gtk/gtkprintutils.[hc]: New files, move the unit conversion
functions here.
* gtk/gtkpagesetupunixdialog.c:
* gtk/gtkprintsettings.c:
* gtk/gtkpagesetup.c:
* gtk/gtkpapersize.c: Replace all static copies of to_mm/from_mm
by the copies in gtkprintutils.c.
* gtk/gtkpagesetup.[hc]: Use g types, add documentation.
2006-04-23 05:48:04 +00:00
Matthias Clasen
46548ae53a
more docs
2006-04-23 05:03:59 +00:00
Tor Lillqvist
d1693d7ba5
Small workaround for weird bug in some versions of Automake at least on
...
2006-04-22 Tor Lillqvist <tml@novell.com>
* gtk/Makefile.am (gtk_private_h_sources): Small workaround for
weird bug in some versions of Automake at least on Windows.
2006-04-22 07:58:37 +00:00
Alexander Larsson
27f746fbd0
Merge the gtk-printing branch. For more detailed ChangeLog entries, see
...
2006-04-21 Alexander Larsson <alexl@redhat.com>
Merge the gtk-printing branch.
For more detailed ChangeLog entries, see the branch.
* .cvsignore:
* Makefile.am:
* configure.in:
* docs/tools/widgets.c:
* gtk+-unix-print-2.0.pc.in:
* gtk/Makefile.am:
* gtk/gen-paper-names.c:
* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/gtkenums.h:
* gtk/gtkiconfactory.c:
* gtk/gtkmarshalers.list:
* gtk/gtkpagesetup.[ch]:
* gtk/gtkpagesetupunixdialog.[ch]:
* gtk/gtkpapersize.[ch]:
* gtk/gtkprint-win32.[ch]:
* gtk/gtkprintbackend.[ch]:
* gtk/gtkprintcontext.[ch]:
* gtk/gtkprinter-private.h:
* gtk/gtkprinter.[ch]:
* gtk/gtkprinteroption.[ch]:
* gtk/gtkprinteroptionset.[ch]:
* gtk/gtkprinteroptionwidget.[ch]:
* gtk/gtkprintjob.[ch]:
* gtk/gtkprintoperation-private.h:
* gtk/gtkprintoperation-unix.c:
* gtk/gtkprintoperation-win32.c:
* gtk/gtkprintoperation.[ch]:
* gtk/gtkprintsettings.[ch]:
* gtk/gtkprintunixdialog.[ch]:
* gtk/paper_names.c:
* gtk/paper_names_offsets.c:
Platform independent printing API and implementations
for unix and windows.
* gtk/gtkstock.h:
* gtk/stock-icons/24/gtk-orientation-landscape.png:
* gtk/stock-icons/24/gtk-orientation-portrait.png:
* gtk/stock-icons/24/gtk-orientation-reverse-landscape.png:
Add stock icons for page orientation.
* modules/Makefile.am:
* modules/printbackends/Makefile.am:
* modules/printbackends/cups/Makefile.am:
* modules/printbackends/cups/gtkcupsutils.[ch]:
* modules/printbackends/cups/gtkprintbackendcups.[ch]:
* modules/printbackends/cups/gtkprintercups.[ch]:
Cups printing backend for unix.
* modules/printbackends/lpr/Makefile.am:
* modules/printbackends/lpr/gtkprintbackendlpr.[ch]:
lpr printing backend for unix.
* modules/printbackends/pdf/Makefile.am:
* modules/printbackends/pdf/gtkprintbackendpdf.[ch]:
print-to-pdf printing backend for unix.
* tests/.cvsignore:
* tests/Makefile.am:
* tests/print-editor.c:
Test application for printing.
* gdk/gdk.symbols:
* gdk/win32/gdkevents-win32.c:
* gdk/win32/gdkwin32.h:
Add gdk_win32_set_modal_dialog_libgtk_only so that we can pump the
mainloop while displaying a win32 common dialog.
* gdk/directfb/Makefile.am:
Whitespace cleanup.
2006-04-21 15:09:32 +00:00
Paolo Borelli
3fc009ec44
plug small leak ( #339132 ) ditto
...
2006-04-20 Paolo Borelli <pborelli@katamail.com>
* gtk/gtkcombobox.c: plug small leak (#339132 )
* tests/testcombo.c: ditto
2006-04-20 15:00:01 +00:00
Michael David Emmel
1787ca5e2a
fixed off by one error in clip patch from ( #330824 )
2006-04-20 02:50:21 +00:00
Murray Cumming
5cb13a7512
_GtkFileChooserButtonPrivate: Added has_title flag so we can remember
...
2006-04-19 Murray Cumming <murrayc@murrayc.com>
* gtk/gtkfilechooserbutton.c: _GtkFileChooserButtonPrivate:
Added has_title flag so we can remember whether a title has
been set.
(gtk_file_chooser_button_constructor): If no title has been
set then set it to the default title. This means that the
default title will be used if the dialog was instantiated with
g_object_new(), without using the gtk_file_chooser_button_new()
convenience function. This helps language bindings.
(gtk_file_chooser_button_set_property): Set has_title when
setting the title.
2006-04-19 17:21:55 +00:00
Tor Lillqvist
8ae3fade37
Map VK_NUMPAD[0-9] to GDK_KP_[0-9]. ( #337562 )
...
2006-04-19 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkkeys-win32.c (handle_special): Map VK_NUMPAD[0-9]
to GDK_KP_[0-9]. (#337562 )
2006-04-19 09:42:06 +00:00
Matthias Clasen
8245abde4b
Allocate pixmap_path dynamically, rather than using a fixed array of size
...
2006-04-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrc.c: Allocate pixmap_path dynamically, rather than
using a fixed array of size 128.
2006-04-18 17:46:15 +00:00
Matthias Clasen
da63cf9805
Apply a patch by Paolo Borelli to factor out a strip_suffix() function and
...
2006-04-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconcache.c: Apply a patch by Paolo Borelli to factor
out a strip_suffix() function and save some memory. (#338307 )
2006-04-18 13:58:30 +00:00
Carlos Garnacho
27f53394be
removed wrong condition check that caused tab labels not to be drawn under
...
2006-04-18 Carlos Garnacho <carlosg@gnome.org>
* gtk/gtknotebook.c (gtk_notebook_pages_allocate): removed wrong
condition check that caused tab labels not to be drawn under certain
circumstances. Bug #338734 .
2006-04-18 09:55:51 +00:00
Kjartan Maraas
17c0c20c51
Remove obsolete entry for no_NO And the translation And the translation.
...
2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Remove obsolete entry for no_NO
* po-properties/no.po: And the translation
* po/no.po: And the translation.
2006-04-18 05:58:57 +00:00
Matthias Clasen
8782ca6abc
Small formatting fix.
...
2006-04-17 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/colorsel.c (expose_event_callback): Small formatting
fix.
2006-04-17 15:08:04 +00:00
Christian Persch
c114a3c19a
Fix UMR in gtk_drag_dest_motion. Bug #338725 .
...
2006-04-17 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkdnd.c: (gtk_drag_dest_set), (gtk_drag_dest_set_proxy): Fix
UMR in gtk_drag_dest_motion. Bug #338725 .
2006-04-17 13:43:23 +00:00
Matthias Clasen
adf11020fd
Fix typos in property blurbs. ( #338772 , Clytie Siddall)
...
2006-04-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtksettings.c (gtk_settings_class_init):
* gtk/gtkentry.c (gtk_entry_class_init): Fix typos
in property blurbs. (#338772 , Clytie Siddall)
2006-04-17 12:59:01 +00:00
Richard Hult
7deea61cbf
Add check for source being a window.
...
2006-04-16 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkdrawable-quartz.c: (gdk_quartz_draw_drawable): Add check
for source being a window.
* gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_get_pointer):
Don't assert on window not being the root window.
2006-04-16 20:13:13 +00:00
Richard Hult
5dc0919ed6
Remove leading cairo/ in include.
...
2006-04-16 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkdrawable-quartz.c: Remove leading cairo/ in include.
2006-04-16 19:33:11 +00:00
Matthias Clasen
dfc29f83ae
Avoid a possible array overrun. (Coverity)
...
2006-04-16 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.c (set_initial_hints ): Avoid a
possible array overrun. (Coverity)
2006-04-16 05:05:49 +00:00
Matthias Clasen
2f24913cb5
fix another Coverity bug.
2006-04-16 04:45:02 +00:00
Matthias Clasen
dcbe7f4719
Fix 336772
2006-04-16 03:55:07 +00:00
Anders Carlsson
a62b7cdc9a
Take grabs into account.
...
2006-04-13 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkevents-quartz.c:
(synthesize_enter_event):
(synthesize_leave_event):
(synthesize_crossing_events):
Take grabs into account.
(find_window_for_event):
Only return grabbed window when owner_events is FALSE.
2006-04-13 08:51:33 +00:00
Matthias Clasen
7b19dcbe79
Reorganize slightly to avoid a possible NULL dereference. (Coverity)
...
2006-04-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_header_focus): Reorganize slightly
to avoid a possible NULL dereference. (Coverity)
2006-04-13 04:31:51 +00:00
Matthias Clasen
3014a278ed
Don't allow passing NULL for x1 or x2, adjust callers.
...
2006-04-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_get_arrow_xrange): Don't
allow passing NULL for x1 or x2, adjust callers.
2006-04-13 03:40:48 +00:00
Matthias Clasen
8557b5e2d7
Reorganize to avoid a possible NULL pointer dereference. (Coverity)
...
2006-04-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_get_neighbor_sizes):
Reorganize to avoid a possible NULL pointer dereference. (Coverity)
2006-04-13 03:20:43 +00:00
Matthias Clasen
6afcd45024
Reorganize to avoid a possible NULL dereference. (Coverity)
...
2006-04-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_page_allocate): Reorganize
to avoid a possible NULL dereference. (Coverity)
2006-04-12 21:22:42 +00:00
Matthias Clasen
10e0b3c8e1
Fix another Coverity bug
2006-04-12 20:43:52 +00:00
Matthias Clasen
340e710fc3
modules/engines/pixbuf/Makefile.am Build fixes for Cygwin. ( #338262 )
...
2006-04-12 Matthias Clasen <mclasen@redhat.com>
* contrib/gdk-pixbuf-xlib/Makefile.am:
* modules/engines/pixbuf/Makefile.am
* gdk-pixbuf/Makefile.am: Build fixes for Cygwin. (#338262 )
2006-04-12 19:48:27 +00:00
Matthias Clasen
93c2bc828e
Make this work for list == NULL. (Coverity)
...
2006-04-12 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkselection-x11.c (make_list): Make this work
for list == NULL. (Coverity)
2006-04-12 18:38:40 +00:00
Matthias Clasen
6d66ce2fc3
Rearrange the code a bit.
...
2006-04-12 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkkeys-x11.c (gdk_keymap_get_entries_for_keycode):
Rearrange the code a bit.
2006-04-12 17:57:30 +00:00
Matthias Clasen
374c855496
Handle _gtk_text_line_get_data() returning NULL in all cases. (Coverity)
...
2006-04-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_validate_yrange):
Handle _gtk_text_line_get_data() returning NULL in all
cases. (Coverity)
2006-04-12 16:28:54 +00:00
Matthias Clasen
5977f7f027
Make find_menu_position and find_toolbar_position void. ( #338100 )
...
2006-04-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c: Make find_menu_position and
find_toolbar_position void. (#338100 )
2006-04-12 13:32:47 +00:00
Anders Carlsson
2ba96a7150
Handle page up and page down.
...
2006-04-12 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkkeys-quartz.c:
Handle page up and page down.
2006-04-12 09:35:34 +00:00
Anders Carlsson
3d1e71073e
Don't flush if we're inside a begin_paint/end_paint pair.
...
2006-04-12 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkdrawable-quartz.c:
(_gdk_quartz_drawable_release_context):
Don't flush if we're inside a begin_paint/end_paint pair.
* gdk/quartz/gdkwindow-quartz.c:
(gdk_window_impl_quartz_end_paint):
Free clip region here.
2006-04-12 08:23:01 +00:00