~canonical-dx-team/ubuntu/maverick/gtk+2.0/menuproxy

« back to all changes in this revision

Viewing changes to docs/tutorial/html/x2061.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-05-04 12:24:25 UTC
  • mfrom: (1.1.21 upstream)
  • Revision ID: james.westby@ubuntu.com-20070504122425-0m8midgzrp40y8w2
Tags: 2.10.12-1ubuntu1
* Sync with Debian
* New upstream version:
  Fixed bugs:
  - 379414 file chooser warnings when changing path in the entry
  - 418585 GtkFileChooserDefault sizing code is not DPI independent
  - 419568 Crash in search if start with special letter
  - 435062 build dies with icon cache validation
  - 379399 Segfault to call gtk_print_operation_run twice.
  - 387889 cups backend has problems when there are too many printers
  - 418531 invalid read to gtkicontheme.c gtk_icon_theme_lookup_icon...
  - 423916 crash in color scheme code
  - 424042 Segmentation fault while quickly pressing Alt+arrows
  - 415260 Protect against negative indices when setting values in G...
  - 419171 XGetVisualInfo() may not set nxvisuals
  - 128852 Gdk cursors don't look good on win32
  - 344657 Ctrl-H doesn't toggle "Show Hidden Files" setting
  - 345345 PrintOperation::paginate is not emitted for class handler
  - 347567 GtkPrintOperation::end-print is not emitted if it's cance...
  - 369112 gtk_ui_manager_add_ui should accept unnamed separator
  - 392015 Selected menu item invisible on Windows Vista
  - 399253 MS-Windows Theme Bottom Tab placement rendering glitches
  - 399425 gtk_input_dialog_fill_axes() adds child to gtkscrolledwin...
  - 403251 [patch] little memory leak in GtkPrintJob
  - 403267 [patch] memory leak in GtkPageSetupUnixDialog
  - 403470 MS-Windows Theme tab placement other than on top leaks a ...
  - 404506 Windows system fonts that have multi-byte font names cann...
  - 405089 Incorrect window placement for GtkEventBox private window
  - 405515 Minor leak in gtkfilesystemmodel.c
  - 405539 gdk_pixbuf_save() for PNG saver can return FALSE without ...
  - 415681 gdk_window_clear_area includes an extra line and column o...
  - 418219 GtkRecentChooser should apply filter before sorting and c...
  - 418403 Scroll to printer after selecting it from settings
  - 421985 _gtk_print_operation_platform_backend_launch_preview
  - 421990 gtk_print_job_get_surface
  - 421993 gtk_print_operation_init
  - 423064 Conditional jump or move depends on uninitialised value(s...
  - 423722 Fix printing header in gtk-demo
  - 424168 gtk_print_operation_run on async preview
  - 425655 Don't install gtk+-unix-print-2.0.pc on non-UNIX platforms
  - 425786 GDK segfaults if XineramaQueryScreens fails
  - 428665 Lpr Backend gets stuck in infinite loop during gtk_enumer...
  - 429902 GtkPrintOperation leaks cairo contextes
  - 431997 First delay of GdkPixbufAnimationIter is wrong
  - 433242 Inconsistent scroll arrow position calculations
  - 433972 Placing gtk.Expander inside a gtk.TextView() changes gtk....
  - 434261 _gtk_toolbar_elide_underscores incorrectly handles some s...
  - 383354 ctrl-L should make 'Location' entry disappear
  - 418673 gtk_recent_manager_add_item
  - 429732 gtk_accel_group_finalize accesses invalid memory
  - 435028 WM_CLIENT_LEADER is wrong on the leader_window
  - 431067 Background of the header window is not updated
  - 338843 add recent files support inside the ui manager
  - 148535 add drop shadow to menus, tooltips, etc. under Windows XP
* debian/control.in:
  - Conflicts on ubuntulooks (<= 0.9.11-1)
* debian/patches/15_default-fallback-icon-theme.patch:
  - patch from Debian, fallback on gnome icon theme

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
2
<HTML
 
3
><HEAD
 
4
><TITLE
 
5
>Memory Management</TITLE
 
6
><META
 
7
NAME="GENERATOR"
 
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
 
9
REL="HOME"
 
10
TITLE="GTK+ 2.0 Tutorial"
 
11
HREF="book1.html"><LINK
 
12
REL="UP"
 
13
TITLE="GLib"
 
14
HREF="c2025.html"><LINK
 
15
REL="PREVIOUS"
 
16
TITLE="Singly Linked Lists"
 
17
HREF="x2057.html"><LINK
 
18
REL="NEXT"
 
19
TITLE="Timers"
 
20
HREF="x2078.html"></HEAD
 
21
><BODY
 
22
CLASS="SECT1"
 
23
BGCOLOR="#FFFFFF"
 
24
TEXT="#000000"
 
25
LINK="#0000FF"
 
26
VLINK="#840084"
 
27
ALINK="#0000FF"
 
28
><DIV
 
29
CLASS="NAVHEADER"
 
30
><TABLE
 
31
SUMMARY="Header navigation table"
 
32
WIDTH="100%"
 
33
BORDER="0"
 
34
CELLPADDING="0"
 
35
CELLSPACING="0"
 
36
><TR
 
37
><TH
 
38
COLSPAN="3"
 
39
ALIGN="center"
 
40
>GTK+ 2.0 Tutorial</TH
 
41
></TR
 
42
><TR
 
43
><TD
 
44
WIDTH="10%"
 
45
ALIGN="left"
 
46
VALIGN="bottom"
 
47
><A
 
48
HREF="x2057.html"
 
49
ACCESSKEY="P"
 
50
>&#60;&#60;&#60; Previous</A
 
51
></TD
 
52
><TD
 
53
WIDTH="80%"
 
54
ALIGN="center"
 
55
VALIGN="bottom"
 
56
>GLib</TD
 
57
><TD
 
58
WIDTH="10%"
 
59
ALIGN="right"
 
60
VALIGN="bottom"
 
61
><A
 
62
HREF="x2078.html"
 
63
ACCESSKEY="N"
 
64
>Next &#62;&#62;&#62;</A
 
65
></TD
 
66
></TR
 
67
></TABLE
 
68
><HR
 
69
ALIGN="LEFT"
 
70
WIDTH="100%"></DIV
 
71
><DIV
 
72
CLASS="SECT1"
 
73
><H1
 
74
CLASS="SECT1"
 
75
><A
 
76
NAME="SEC-MEMORYMANAGEMENT"
 
77
>Memory Management</A
 
78
></H1
 
79
><TABLE
 
80
BORDER="0"
 
81
BGCOLOR="#E0E0E0"
 
82
WIDTH="100%"
 
83
><TR
 
84
><TD
 
85
><PRE
 
86
CLASS="PROGRAMLISTING"
 
87
>gpointer g_malloc( gulong size );</PRE
 
88
></TD
 
89
></TR
 
90
></TABLE
 
91
><P
 
92
>This is a replacement for malloc(). You do not need to check the return
 
93
value as it is done for you in this function. If the memory allocation
 
94
fails for whatever reasons, your applications will be terminated.</P
 
95
><TABLE
 
96
BORDER="0"
 
97
BGCOLOR="#E0E0E0"
 
98
WIDTH="100%"
 
99
><TR
 
100
><TD
 
101
><PRE
 
102
CLASS="PROGRAMLISTING"
 
103
>gpointer g_malloc0( gulong size );</PRE
 
104
></TD
 
105
></TR
 
106
></TABLE
 
107
><P
 
108
>Same as above, but zeroes the memory before returning a pointer to it.</P
 
109
><TABLE
 
110
BORDER="0"
 
111
BGCOLOR="#E0E0E0"
 
112
WIDTH="100%"
 
113
><TR
 
114
><TD
 
115
><PRE
 
116
CLASS="PROGRAMLISTING"
 
117
>gpointer g_realloc( gpointer mem,
 
118
                    gulong   size );</PRE
 
119
></TD
 
120
></TR
 
121
></TABLE
 
122
><P
 
123
>Relocates "size" bytes of memory starting at "mem".  Obviously, the
 
124
memory should have been previously allocated.</P
 
125
><TABLE
 
126
BORDER="0"
 
127
BGCOLOR="#E0E0E0"
 
128
WIDTH="100%"
 
129
><TR
 
130
><TD
 
131
><PRE
 
132
CLASS="PROGRAMLISTING"
 
133
>void g_free( gpointer mem );</PRE
 
134
></TD
 
135
></TR
 
136
></TABLE
 
137
><P
 
138
>Frees memory. Easy one. If <TT
 
139
CLASS="LITERAL"
 
140
>mem</TT
 
141
> is NULL it simply returns.</P
 
142
><TABLE
 
143
BORDER="0"
 
144
BGCOLOR="#E0E0E0"
 
145
WIDTH="100%"
 
146
><TR
 
147
><TD
 
148
><PRE
 
149
CLASS="PROGRAMLISTING"
 
150
>void g_mem_profile( void );</PRE
 
151
></TD
 
152
></TR
 
153
></TABLE
 
154
><P
 
155
>Dumps a profile of used memory, but requires that you add <TT
 
156
CLASS="LITERAL"
 
157
>#define
 
158
MEM_PROFILE</TT
 
159
> to the top of glib/gmem.c and re-make and make install.</P
 
160
><TABLE
 
161
BORDER="0"
 
162
BGCOLOR="#E0E0E0"
 
163
WIDTH="100%"
 
164
><TR
 
165
><TD
 
166
><PRE
 
167
CLASS="PROGRAMLISTING"
 
168
>void g_mem_check( gpointer mem );</PRE
 
169
></TD
 
170
></TR
 
171
></TABLE
 
172
><P
 
173
>Checks that a memory location is valid. Requires you add <TT
 
174
CLASS="LITERAL"
 
175
>#define
 
176
MEM_CHECK</TT
 
177
> to the top of gmem.c and re-make and make install.</P
 
178
></DIV
 
179
><DIV
 
180
CLASS="NAVFOOTER"
 
181
><HR
 
182
ALIGN="LEFT"
 
183
WIDTH="100%"><TABLE
 
184
SUMMARY="Footer navigation table"
 
185
WIDTH="100%"
 
186
BORDER="0"
 
187
CELLPADDING="0"
 
188
CELLSPACING="0"
 
189
><TR
 
190
><TD
 
191
WIDTH="33%"
 
192
ALIGN="left"
 
193
VALIGN="top"
 
194
><A
 
195
HREF="x2057.html"
 
196
ACCESSKEY="P"
 
197
>&#60;&#60;&#60; Previous</A
 
198
></TD
 
199
><TD
 
200
WIDTH="34%"
 
201
ALIGN="center"
 
202
VALIGN="top"
 
203
><A
 
204
HREF="book1.html"
 
205
ACCESSKEY="H"
 
206
>Home</A
 
207
></TD
 
208
><TD
 
209
WIDTH="33%"
 
210
ALIGN="right"
 
211
VALIGN="top"
 
212
><A
 
213
HREF="x2078.html"
 
214
ACCESSKEY="N"
 
215
>Next &#62;&#62;&#62;</A
 
216
></TD
 
217
></TR
 
218
><TR
 
219
><TD
 
220
WIDTH="33%"
 
221
ALIGN="left"
 
222
VALIGN="top"
 
223
>Singly Linked Lists</TD
 
224
><TD
 
225
WIDTH="34%"
 
226
ALIGN="center"
 
227
VALIGN="top"
 
228
><A
 
229
HREF="c2025.html"
 
230
ACCESSKEY="U"
 
231
>Up</A
 
232
></TD
 
233
><TD
 
234
WIDTH="33%"
 
235
ALIGN="right"
 
236
VALIGN="top"
 
237
>Timers</TD
 
238
></TR
 
239
></TABLE
 
240
></DIV
 
241
></BODY
 
242
></HTML
 
243
>
 
 
b'\\ No newline at end of file'