From 2d28a30379c80222c9782a30a390799b6fce25ba Mon Sep 17 00:00:00 2001 From: GMT 2001 Tony Gale Date: Tue, 16 Jan 2001 13:17:21 +0000 Subject: [PATCH] FAQ update: - Update to bugzilla - Add GTK+ and security/SUID/SGID - Add Tue Jan 16 13:13:13 GMT 2001 Tony Gale * docs/faq/gtk-faq.sgml: FAQ update: - Update to bugzilla - Add GTK+ and security/SUID/SGID - Add DnD question --- ChangeLog | 7 ++++ ChangeLog.pre-2-0 | 7 ++++ ChangeLog.pre-2-10 | 7 ++++ ChangeLog.pre-2-2 | 7 ++++ ChangeLog.pre-2-4 | 7 ++++ ChangeLog.pre-2-6 | 7 ++++ ChangeLog.pre-2-8 | 7 ++++ docs/faq/gtk-faq.sgml | 80 +++++++++++++++++++++++++------------------ 8 files changed, 95 insertions(+), 34 deletions(-) diff --git a/ChangeLog b/ChangeLog index d5d561be9..64097ce0b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Tue Jan 16 13:13:13 GMT 2001 Tony Gale + + * docs/faq/gtk-faq.sgml: FAQ update: + - Update to bugzilla + - Add GTK+ and security/SUID/SGID + - Add DnD question + 2001-01-16 Alexander Larsson * gdk/linux-fb/gdkdnd-fb.c: diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index d5d561be9..64097ce0b 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,10 @@ +Tue Jan 16 13:13:13 GMT 2001 Tony Gale + + * docs/faq/gtk-faq.sgml: FAQ update: + - Update to bugzilla + - Add GTK+ and security/SUID/SGID + - Add DnD question + 2001-01-16 Alexander Larsson * gdk/linux-fb/gdkdnd-fb.c: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index d5d561be9..64097ce0b 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +Tue Jan 16 13:13:13 GMT 2001 Tony Gale + + * docs/faq/gtk-faq.sgml: FAQ update: + - Update to bugzilla + - Add GTK+ and security/SUID/SGID + - Add DnD question + 2001-01-16 Alexander Larsson * gdk/linux-fb/gdkdnd-fb.c: diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index d5d561be9..64097ce0b 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,10 @@ +Tue Jan 16 13:13:13 GMT 2001 Tony Gale + + * docs/faq/gtk-faq.sgml: FAQ update: + - Update to bugzilla + - Add GTK+ and security/SUID/SGID + - Add DnD question + 2001-01-16 Alexander Larsson * gdk/linux-fb/gdkdnd-fb.c: diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index d5d561be9..64097ce0b 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,10 @@ +Tue Jan 16 13:13:13 GMT 2001 Tony Gale + + * docs/faq/gtk-faq.sgml: FAQ update: + - Update to bugzilla + - Add GTK+ and security/SUID/SGID + - Add DnD question + 2001-01-16 Alexander Larsson * gdk/linux-fb/gdkdnd-fb.c: diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index d5d561be9..64097ce0b 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +Tue Jan 16 13:13:13 GMT 2001 Tony Gale + + * docs/faq/gtk-faq.sgml: FAQ update: + - Update to bugzilla + - Add GTK+ and security/SUID/SGID + - Add DnD question + 2001-01-16 Alexander Larsson * gdk/linux-fb/gdkdnd-fb.c: diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index d5d561be9..64097ce0b 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +Tue Jan 16 13:13:13 GMT 2001 Tony Gale + + * docs/faq/gtk-faq.sgml: FAQ update: + - Update to bugzilla + - Add GTK+ and security/SUID/SGID + - Add DnD question + 2001-01-16 Alexander Larsson * gdk/linux-fb/gdkdnd-fb.c: diff --git a/docs/faq/gtk-faq.sgml b/docs/faq/gtk-faq.sgml index 7a31bffa2..442f35655 100644 --- a/docs/faq/gtk-faq.sgml +++ b/docs/faq/gtk-faq.sgml @@ -2,7 +2,7 @@ - June 28th 2000 + January 16th 2001 GTK+ FAQ @@ -226,39 +226,16 @@ post questions is to the GTK+ mailing list. How to report bugs in GTK+ Bugs should be reported to the GNOME bug tracking system -(http://bugs.gnome.org). To -report a problem about GTK+, send mail to submit@bugs.gnome.org. +(http://bugzilla.gnome.org). +You will need to enter your email address and receive a password before +you can use the system to register a new bug report. -The subject of the mail should describe your problem. In -the body of the mail, you should first include a -"pseudo-header" that gives the package and version -number. This should be separated by a blank line from the -actual headers. - - -Package: gtk+ -Version: 1.2.0 - - -Substitute 1.2.0 with the version of GTK+ that you have -installed. - -Then describe the bug. Include: +There are a number of options to select and boxes to fill in when +submitting a bug report. Please remember that the more information you +give, the easier it will be to track the problem down. Extra information +that may prove useful includes: - Information about your system. For -instance: - - What operating system and version - - What version of X - - For Linux, what version of the C library - - -And anything else you think is relevant. - How to reproduce the bug. If you can reproduce it with the testgtk program that is built in the gtk/ subdirectory, that will be most @@ -272,9 +249,11 @@ testgtk. If you are reporting a bug found with the GIMP, please include the version number of the GIMP you are using) + If the bug was a crash, the exact text that was -printed out when the crash occured. +printed out when the crash occurred. + Further information such as stack traces may be useful, but are not necessary. If you do send a stack trace, and the error is an X error, it will be more useful if the stacktrace is @@ -904,6 +883,21 @@ grounding on what the widgets can do. + +How do I write security sensitive/SUID/SGID programs with GTK+? +Is GTK+ secure? What's this GTK_MODULES security hole I heard about? + +The short answer to this question is: Don't write SUID/SGID +programs with GTK+ + +For a more thorough explanation of the GTK+ Developers position on +this issue see http://www.gtk.org/setuid.html. + + + + + I tried to compile a small <command>Hello World</command> of mine, but it failed. Any clue? @@ -1672,12 +1666,12 @@ for example)? gint -signal_handler_event(GtkWiget *widget, GdkEvenButton *event, gpointer func_data) +signal_handler_event(GtkWidget *widget, GdkEventButton *event, gpointer func_data) { if (GTK_IS_LIST_ITEM(widget) && (event->type==GDK_2BUTTON_PRESS || event->type==GDK_3BUTTON_PRESS) ) { - printf("I feel %s clicked on button %d\", + printf("I feel %s clicked on button %d\n", event->type==GDK_2BUTTON_PRESS ? "double" : "triple", event->button); } @@ -2271,6 +2265,24 @@ used, as in: + + + +How do I do drag-and-drop? + +GTK+ has a high level set of functions for doing inter-process +communication via the drag-and-drop system. GTK+ can perform +drag-and-drop on top of the low level Xdnd and Motif drag-and-drop +protocols. + +The documentation on GTK+ drag-and-drop isn't complete, but there +is some information in the Tutorial. You should also +look at the drag-and-drop example code that is part of the GTK+ source +distribution, in the file gtk/testdnd.c. + + + -- 2.43.2