reassign 339419 d4x 2.5.6-2
tags 339419 patch
thanks

On Wed, Dec 21, 2005 at 01:05:10PM -0800, Max Alekseyev wrote:
> Steve Langasek wrote:

> >valgrind?

> This is the output of valgrind with libc6-dbg:

Ok, most of this looks like pretty typical garbage output, with a few
messages related to locales and themes that I don't usually see.  Are you
using any particular gtk theme here?  Do you see the same error if you set
LANG=C instead of LANG=ru_RU.KOI8-R?

Also, I've tested d4x on alpha now, and it bombs out *immediately* upon
clicking 'New download'.  The app is completely non-64bit-safe.  I've
audited the package for *one* common cause of 64-bit problems in gtk apps,
and attached the patch here.  I don't know whether this is the same bug
you're seeing on amd64, but I don't think it's worth trying to look any
further for library bugs until this is resolved.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/
diff -u d4x-2.5.6/debian/changelog d4x-2.5.6/debian/changelog
--- d4x-2.5.6/debian/changelog
+++ d4x-2.5.6/debian/changelog
@@ -1,3 +1,11 @@
+d4x (2.5.6-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * *GTKTYPE* *IS* *NOT* *AN* *INTEGER* *STOP* *BLOODY* *CASTING* *IT* *AS*
+    *ONE*
+
+ -- Steve Langasek <[EMAIL PROTECTED]>  Wed, 21 Dec 2005 16:06:21 -0800
+
 d4x (2.5.6-2) unstable; urgency=low
 
   * New maintainer (Closes: #336165)
only in patch2:
unchanged:
--- d4x-2.5.6.orig/main/face/fsched.h
+++ d4x-2.5.6/main/face/fsched.h
@@ -43,7 +43,7 @@
 
 
 GtkWidget *my_gtk_aeditor_new(d4xSchedAction *action=(d4xSchedAction *)NULL);
-guint my_gtk_aeditor_get_type();
+GtkType my_gtk_aeditor_get_type();
 
 GtkWidget *d4x_scheduler_init();
 void d4x_scheduler_insert(d4xSchedAction *act,d4xSchedAction *prev);
only in patch2:
unchanged:
--- d4x-2.5.6.orig/main/face/fsched.cc
+++ d4x-2.5.6/main/face/fsched.cc
@@ -813,8 +813,8 @@
 
 };
 
-guint my_gtk_aeditor_get_type(){
-       static guint my_aeditor_type=0;
+GtkType my_gtk_aeditor_get_type(){
+       static GtkType my_aeditor_type=0;
        if (!my_aeditor_type){
                GTypeInfo my_aeditor_info={
                        sizeof(MyGtkAEditorClass),
only in patch2:
unchanged:
--- d4x-2.5.6.orig/main/face/mywidget.cc
+++ d4x-2.5.6/main/face/mywidget.cc
@@ -117,8 +117,8 @@
        gtk_box_pack_start(GTK_BOX(filesel),button,FALSE,FALSE,0);
 };
 
-guint my_gtk_filesel_get_type(){
-       static guint my_filesel_type=0;
+GtkType my_gtk_filesel_get_type(){
+       static GtkType my_filesel_type=0;
        if (!my_filesel_type){
                GTypeInfo my_filesel_info={
                        sizeof(MyGtkFileselClass),
@@ -255,8 +255,8 @@
        gtk_box_pack_start(GTK_BOX(colsel),button,FALSE,FALSE,0);
 };
 
-guint my_gtk_colorsel_get_type(){
-       static guint my_filesel_type=0;
+GtkType my_gtk_colorsel_get_type(){
+       static GtkType my_filesel_type=0;
        if (!my_filesel_type){
                GTypeInfo my_filesel_info={
                        sizeof(MyGtkColorselClass),
@@ -503,8 +503,8 @@
 };
 
 
-guint d4x_rule_edit_get_type(){
-       static guint d4x_rule_edit_type=0;
+GtkType d4x_rule_edit_get_type(){
+       static GtkType d4x_rule_edit_type=0;
        if (!d4x_rule_edit_type){
                GTypeInfo info={
                        sizeof(d4xRuleEditClass),
@@ -856,8 +856,8 @@
        filter_parent_class=(GtkWidgetClass 
*)gtk_type_class(gtk_window_get_type());
 };
 
-guint d4x_filter_edit_get_type(){
-       static guint d4x_filter_edit_type=0;
+GtkType d4x_filter_edit_get_type(){
+       static GtkType d4x_filter_edit_type=0;
        if (!d4x_filter_edit_type){
                GTypeInfo info={
                        sizeof(d4xFilterEditClass),
@@ -948,8 +948,8 @@
        filtersel_parent_class=(GtkWidgetClass 
*)gtk_type_class(gtk_window_get_type());
 };
 
-guint d4x_filter_sel_get_type(){
-       static guint d4x_filter_sel_type=0;
+GtkType d4x_filter_sel_get_type(){
+       static GtkType d4x_filter_sel_type=0;
        if (!d4x_filter_sel_type){
                GTypeInfo info={
                        sizeof(d4xFilterSelClass),
@@ -1125,8 +1125,8 @@
        linkssel_parent_class=(GtkWidgetClass 
*)gtk_type_class(gtk_window_get_type());
 };
 
-guint d4x_links_sel_get_type(){
-       static guint d4x_links_sel_type=0;
+GtkType d4x_links_sel_get_type(){
+       static GtkType d4x_links_sel_type=0;
        if (!d4x_links_sel_type){
                GTypeInfo info={
                        sizeof(d4xLinksSelClass),
@@ -1267,8 +1267,8 @@
        gtk_window_set_default(GTK_WINDOW(sel),sel->cancel);
 };
 
-guint d4x_string_edit_get_type(){
-       static guint d4x_string_edit_type=0;
+GtkType d4x_string_edit_get_type(){
+       static GtkType d4x_string_edit_type=0;
        if (!d4x_string_edit_type){
                GTypeInfo info={
                        sizeof(d4xStringEditClass),
@@ -1440,8 +1440,8 @@
        gtk_window_set_default(GTK_WINDOW(sel),sel->cancel);
 };
 
-guint d4x_alt_edit_get_type(){
-       static guint d4x_alt_edit_type=0;
+GtkType d4x_alt_edit_get_type(){
+       static GtkType d4x_alt_edit_type=0;
        if (!d4x_alt_edit_type){
                GTypeInfo info={
                        sizeof(d4xAltEditClass),

Attachment: signature.asc
Description: Digital signature

Reply via email to