[gtkmm] Gtkmm-forge digest, Vol 1 #160 - 11 msgs
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #160 - 11 msgs
- Date: Tue, 16 Jul 2002 12:01:32 -0700
Send Gtkmm-forge mailing list submissions to
gtkmm-forge lists sourceforge net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
gtkmm-forge-request lists sourceforge net
You can reach the person managing the list at
gtkmm-forge-admin lists sourceforge net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."
gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs.
Today's Topics:
1. [Bug 87591] Changed - GTK+ merged docs has notions of free() which isn't used in gtkmm. (bugzilla-daemon widget gnome org)
2. [Bug 87912] Changed - Strange segfault on dialog signal handler class destruction (bugzilla-daemon widget gnome org)
3. [Bug 87877] Changed - gnomemm-1.2.2 fails to compile (src/gnome--/procbar.cc) (bugzilla-daemon widget gnome org)
4. [Bug 87877] Changed - gnomemm-1.2.2 fails to compile (src/gnome--/procbar.cc) (bugzilla-daemon widget gnome org)
5. [Bug 87877] Changed - gnomemm-1.2.2 fails to compile (src/gnome--/procbar.cc) (bugzilla-daemon widget gnome org)
6. [Bug 87877] Changed - gnomemm-1.2.2 fails to compile (src/gnome--/procbar.cc) (bugzilla-daemon widget gnome org)
7. [Bug 81422] Changed - Menu bar isn't shown correctly in latest gtkmm CVS (bugzilla-daemon widget gnome org)
8. [Bug 88368] New - signal_io() feature request (bugzilla-daemon widget gnome org)
9. [Bug 88380] New - Gtk::Notebook: signal_switch_page called after Gtk::Main::quit() (bugzilla-daemon widget gnome org)
10. [Bug 88380] Changed - Gtk::Notebook: signal_switch_page called after Gtk::Main::quit() (bugzilla-daemon widget gnome org)
11. [Bug 88380] Changed - Gtk::Notebook: signal_switch_page called after Gtk::Main::quit() (bugzilla-daemon widget gnome org)
--__--__--
Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, morten wtf dk
Cc:
Date: Tue, 16 Jul 2002 07:22:48 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 87591] Changed - GTK+ merged docs has notions of free() which isn't used in gtkmm.
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=87591
Changed by murrayc usa net
--- shadow/87591 Sat Jul 13 18:12:20 2002
+++ shadow/87591.tmp.18584 Tue Jul 16 07:22:48 2002
@@ -1,13 +1,13 @@
Bug#: 87591
Product: gtkmm
Version: 2.0
OS: Linux
OS Details:
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: FIXED
Severity: minor
Priority: Normal
Component: reference documentation
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: morten wtf dk
QAContact: gtkmm-forge lists sourceforge net
@@ -67,6 +67,11 @@
Currently I don't have time to make all the non-free changes.
------- Additional Comments From murrayc usa net 2002-07-13 18:12 -------
pack_start() doesn't use _WRAP_METHOD() so it doesn't use
auto-generate any reference docs. It's just regular C++.
+
+------- Additional Comments From murrayc usa net 2002-07-16 07:22 -------
+You really need to search the HTML output, because the C docs are not
+used when we custom code a method. I have fixed what I have found by
+using grep.
--__--__--
Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, a rottmann gmx at
Cc:
Date: Tue, 16 Jul 2002 07:24:01 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 87912] Changed - Strange segfault on dialog signal handler class destruction
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=87912
Changed by murrayc usa net
--- shadow/87912 Sat Jul 13 15:39:13 2002
+++ shadow/87912.tmp.18974 Tue Jul 16 07:24:01 2002
@@ -1,16 +1,16 @@
Bug#: 87912
-Product: gtkmm
+Product: gnomemm
Version: 2.0
OS: Linux
OS Details: Debian unstable
Status: NEW
Resolution:
Severity: minor
Priority: Normal
-Component: general
+Component: libglademm
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: a rottmann gmx at
TargetMilestone: ---
URL:
Summary: Strange segfault on dialog signal handler class destruction
--__--__--
Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, koka geo vu nl
Cc:
Date: Tue, 16 Jul 2002 08:09:03 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 87877] Changed - gnomemm-1.2.2 fails to compile (src/gnome--/procbar.cc)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=87877
Changed by murrayc usa net
--- shadow/87877 Wed Jul 10 18:08:39 2002
+++ shadow/87877.tmp.2962 Tue Jul 16 08:09:03 2002
@@ -9,13 +9,12 @@
Priority: Normal
Component: build
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: koka geo vu nl
TargetMilestone: ---
URL:
-Cc:
Summary: gnomemm-1.2.2 fails to compile (src/gnome--/procbar.cc)
Both we (the lunar linux maintainers) and the people from Gentoo have
exactly the same problem. I can state for a fact that it *already* compiled
before correctly, date 20020423 (i.e. 6 weeks ago), but since that date
absolutely nothing I can find has changed.
@@ -45,6 +44,16 @@
procbar.cc:23: passing `gint (*)()' as argument 5 of
`gnome_proc_bar_construct(GnomeProcBar *, GtkWidget *, int, GdkColor *,
gint (*)(void *))'
make[1]: *** [procbar.lo] Error 1
make[1]: Leaving directory `/usr/src/gnomemm-1.2.2/src/gnome--'
make: *** [all-recursive] Error 1
+
+------- Additional Comments From murrayc usa net 2002-07-16 08:09 -------
+The function pointer type is wrong. The callback should actually take
+a gpointer. We can't change that in the stable API, but you can add a
+cast to the correct type in the .gen_h file. You might find it
+simplest if you use a typedef. It will probably still work, and if it
+doesn't then it's not important because I doubt anybody is using that
+constructor anyway.
+
+Please tell if you have any problems writing the patch.
--__--__--
Message: 4
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, koka geo vu nl
Cc:
Date: Tue, 16 Jul 2002 08:09:49 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 87877] Changed - gnomemm-1.2.2 fails to compile (src/gnome--/procbar.cc)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=87877
Changed by murrayc usa net
--- shadow/87877 Tue Jul 16 08:09:03 2002
+++ shadow/87877.tmp.3208 Tue Jul 16 08:09:48 2002
@@ -54,6 +54,9 @@
cast to the correct type in the .gen_h file. You might find it
simplest if you use a typedef. It will probably still work, and if it
doesn't then it's not important because I doubt anybody is using that
constructor anyway.
Please tell if you have any problems writing the patch.
+
+------- Additional Comments From murrayc usa net 2002-07-16 08:09 -------
+Hmm, actually I can reproduce it here, so I'll do it.
--__--__--
Message: 5
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, koka geo vu nl
Cc:
Date: Tue, 16 Jul 2002 08:43:57 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 87877] Changed - gnomemm-1.2.2 fails to compile (src/gnome--/procbar.cc)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=87877
Changed by murrayc usa net
--- shadow/87877 Tue Jul 16 08:09:48 2002
+++ shadow/87877.tmp.15740 Tue Jul 16 08:43:56 2002
@@ -57,6 +57,10 @@
constructor anyway.
Please tell if you have any problems writing the patch.
------- Additional Comments From murrayc usa net 2002-07-16 08:09 -------
Hmm, actually I can reproduce it here, so I'll do it.
+
+------- Additional Comments From murrayc usa net 2002-07-16 08:43 -------
+OK, please try from cvs (gnome-- module) and tell me if it's ready for
+a new release.
--__--__--
Message: 6
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, koka geo vu nl
Cc:
Date: Tue, 16 Jul 2002 09:24:22 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 87877] Changed - gnomemm-1.2.2 fails to compile (src/gnome--/procbar.cc)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=87877
Changed by koka geo vu nl
--- shadow/87877 Tue Jul 16 08:43:56 2002
+++ shadow/87877.tmp.30298 Tue Jul 16 09:24:22 2002
@@ -61,6 +61,29 @@
------- Additional Comments From murrayc usa net 2002-07-16 08:09 -------
Hmm, actually I can reproduce it here, so I'll do it.
------- Additional Comments From murrayc usa net 2002-07-16 08:43 -------
OK, please try from cvs (gnome-- module) and tell me if it's ready for
a new release.
+
+------- Additional Comments From koka geo vu nl 2002-07-16 09:24 -------
+applied the patch over the 4 affected files and got:
+
+/usr/src/gnomemm-1.2.2/src/gnome-- # c++ -DHAVE_CONFIG_H -I. -I.
+-I../.. -DG_LOG_DOMAIN=\"Gnome--\" -I. -I./.. -I.. -I../../src
+-I../../src -I../../src/gtk-- -I../../gdk-- -I/usr/lib/gtkmm/include
+-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
+-I/usr/X11R6/include -I/usr/lib/sigc++-1.0/include
+-I/usr/include/sigc++-1.0 -I/usr/include/gnome-1.0
+-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
+-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
+-I/usr/X11R6/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
+-I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2
+-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
+-g -O2 -Wall -Wno-unused -c procbar.cc -fPIC -DPIC -o procbar.lo
+procbar.cc: In method `Gnome::ProcBar::ProcBar(const Gtk::Label &,
+const vector<Gdk_Color *,allocator<Gdk_Color *> > &, gint (*)())':
+procbar.cc:23: passing `gint (*)()' as argument 5 of
+`gnome_proc_bar_construct(GnomeProcBar *, GtkWidget *, int, GdkColor
+*, gint (*)(void *))'
+
+I think you missed one there
--__--__--
Message: 7
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Tue, 16 Jul 2002 09:40:24 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 81422] Changed - Menu bar isn't shown correctly in latest gtkmm CVS
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=81422
Changed by murrayc usa net
--- shadow/81422 Fri Jun 28 07:08:12 2002
+++ shadow/81422.tmp.2145 Tue Jul 16 09:40:24 2002
@@ -9,13 +9,12 @@
Priority: Normal
Component: libglademm
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: chrisime gnome org
TargetMilestone: ---
URL:
-Cc:
Summary: Menu bar isn't shown correctly in latest gtkmm CVS
The menu bar of my app isn't shown correctly using the lastest gtkmm source
from cvs.
Please have a look at www.gnome.org/~chrisime/pix/gtkmm_bug.png.
@@ -53,6 +52,9 @@
pure C APIs. I will provide a shorter example later this week.
------- Additional Comments From MHL Schulze t-online de 2002-06-28 07:08 -------
Since my copy of libsigc++ is out of date and sourceforge is
unreachable, I can't update gtkmm and gnomemm to the latest cvs
version. Terefore I have to postpone this task again :-(
+
+------- Additional Comments From murrayc usa net 2002-07-16 09:40 -------
+Have you made any progress?
--__--__--
Message: 8
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Tue, 16 Jul 2002 13:37:25 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88368] New - signal_io() feature request
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=88368
Changed by morten wtf dk
--- shadow/88368 Tue Jul 16 13:37:25 2002
+++ shadow/88368.tmp.25091 Tue Jul 16 13:37:25 2002
@@ -0,0 +1,50 @@
+Bug#: 88368
+Product: gtkmm
+Version: 2.0
+OS: Linux
+OS Details:
+Status: NEW
+Resolution:
+Severity: normal
+Priority: Normal
+Component: general
+AssignedTo: gtkmm-forge lists sourceforge net
+ReportedBy: morten wtf dk
+TargetMilestone: ---
+URL:
+Summary: signal_io() feature request
+
+In gtkmm 1.2, I used g_io_add_watch() to watch file descriptors.
+In gtkmm 2, I can use signal_io() and have the advantage to use
+SigC::Connections instead.
+
+However, g_io_add_watch() passes a GIOChannel to it's callback function
+which can be used to read/write from. This feature is lacking with SignalIO
+/ signal_io()
+
+E.g.:
+
+ g_io_add_watch(g_io_channel_unix_new(filedescriptor),
+ GIOCondition (G_IO_IN),
+ &Class::callback, this);
+
+The prototype for Class::callback would then be:
+static gboolean Class::callback(GIOChannel* iochannel, GIOCondition cond,
+gpointer data);
+
+Here, the iochannel can be used to read/write from.
+
+With signal_io():
+
+ signal_io().connect(
+ slot(*this, &Class::callback),
+ filedescriptor, Glib::IO_IN);
+
+The prototype will look like this:
+
+bool Class::callback(Glib::IOCondition cond);
+
+In the last example, I don't have the possibility to read from the file
+descriptor or a iochannel. This forces me to make 'filedescriptor' a member
+of the class, and I can't reuse the same callback for many different
+filedescriptors.
--__--__--
Message: 9
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Tue, 16 Jul 2002 14:58:14 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88380] New - Gtk::Notebook: signal_switch_page called after Gtk::Main::quit()
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=88380
Changed by morten wtf dk
--- shadow/88380 Tue Jul 16 14:58:14 2002
+++ shadow/88380.tmp.21436 Tue Jul 16 14:58:14 2002
@@ -0,0 +1,30 @@
+Bug#: 88380
+Product: gtkmm
+Version: 2.0
+OS: Linux
+OS Details:
+Status: NEW
+Resolution:
+Severity: normal
+Priority: Normal
+Component: general
+AssignedTo: gtkmm-forge lists sourceforge net
+ReportedBy: morten wtf dk
+TargetMilestone: ---
+URL:
+Summary: Gtk::Notebook: signal_switch_page called after Gtk::Main::quit()
+
+I have found a problem where signal_switch_page is being called after
+Gtk::Main::quit(), it doesn't happen in a C version of the application.
+
+This is a problem because you'll get the error:
+(a.out:24168): Gtk-CRITICAL **: file gtknotebook.c: line 4113
+(gtk_notebook_get_nth_page): assertion `GTK_IS_NOTEBOOK (notebook)' failed
+
+When calling get_nth_page(), and chances are great that you'll do something
+in that function which will make the program segfault.
+
+A GTK+ and a gtkmm example attached. One should also take notice that the
+problem doesnt exist if you select the third tab and then quit, it does
+when you select the first or the second. I can't reproduce it in the GTK+
+version.
--__--__--
Message: 10
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Tue, 16 Jul 2002 14:58:57 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88380] Changed - Gtk::Notebook: signal_switch_page called after Gtk::Main::quit()
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=88380
Changed by morten wtf dk
--- shadow/88380 Tue Jul 16 14:58:14 2002
+++ shadow/88380.tmp.21622 Tue Jul 16 14:58:57 2002
@@ -25,6 +25,11 @@
in that function which will make the program segfault.
A GTK+ and a gtkmm example attached. One should also take notice that the
problem doesnt exist if you select the third tab and then quit, it does
when you select the first or the second. I can't reproduce it in the GTK+
version.
+
+------- Additional Comments From morten wtf dk 2002-07-16 14:58 -------
+Created an attachment (id=9907)
+GTK+ (C) version.
+
--__--__--
Message: 11
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Tue, 16 Jul 2002 14:59:27 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88380] Changed - Gtk::Notebook: signal_switch_page called after Gtk::Main::quit()
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=88380
Changed by morten wtf dk
--- shadow/88380 Tue Jul 16 14:58:57 2002
+++ shadow/88380.tmp.21825 Tue Jul 16 14:59:27 2002
@@ -30,6 +30,11 @@
version.
------- Additional Comments From morten wtf dk 2002-07-16 14:58 -------
Created an attachment (id=9907)
GTK+ (C) version.
+
+------- Additional Comments From morten wtf dk 2002-07-16 14:59 -------
+Created an attachment (id=9908)
+gtkmm (C++) version
+
--__--__--
_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
End of Gtkmm-forge Digest
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]