Closed Bug 408823 Opened 17 years ago Closed 17 years ago

Killing GTK1, deprecated glib uses

Categories

(Core Graveyard :: Embedding: GTK Widget, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9beta3

People

(Reporter: romaxa, Assigned: romaxa)

References

Details

Attachments

(1 file, 3 obsolete files)

I guess would be better to remove all GTK1(MOZ_WIDGET_GTK) code,
MOZ_WIDGET_GTK2 defines, and deprecated gtk/glib functionality
Attached patch Deprecated glib functions (obsolete) — Splinter Review
For the reference:

Need to be applied after "MOZ_WIDGET_GTK, MOZ_WIDGET_GTK2 defines code" patch

https://garage.maemo.org/svn/browser/mozilla/branches/MOZ_BUG408238_BRANCH/libgtkmozembed/debian/patches/Bug408823.OldGlib.diff
Blocks: 408238
Comment on attachment 293673 [details] [diff] [review]
MOZ_WIDGET_GTK, MOZ_WIDGET_GTK2 defines code

Obsolete after relanding bug 326152
Attachment #293673 - Attachment is obsolete: true
Christian, if you have any additions to the second patch put your updates..
Attachment #293674 - Flags: review?(dougt)
The patch came out a bit messy because of the mix of tab/spaces (inherited from the current code). This had been fixed on the microb branches but was lost when we reverted.

I suggest that we fix this gradually, while changing the code for other reasons. Can you please rework the patch to get rid of tabs in the code blocks you touch?
Attached patch Fixed indentation (obsolete) — Splinter Review
I was using 
:set ts=2 sw=2 sts=2 tw=80 et cindent
for indentation.
Attachment #293674 - Attachment is obsolete: true
Attachment #296143 - Flags: review?(mpgritti)
Attachment #293674 - Flags: review?(dougt)
Comment on attachment 296143 [details] [diff] [review]
Fixed indentation

r+ with the following nitpick. Please use "func_name()" consistently instead of "func_name ()".
Attachment #296143 - Flags: review?(mpgritti) → review+
Attachment #296143 - Flags: superreview?(benjamin)
Comment on attachment 296143 [details] [diff] [review]
Fixed indentation

Looks like we don't need sr  here, so the patch can go in.
Attachment #296143 - Flags: superreview?(benjamin)
mpgritti,

I'm sorry, but I don't know who you are, nor are you listed as a peer for gtkmozembed at http://www.mozilla.org/owners.html#gtk-embedding-widget, so unless timeless or bsmedberg say it's ok, I'd like to have review from one of them.
Assignee: nobody → romaxa
reed, thanks for your comment and concern.

marco is the owner of the gtkmozembed code.  brendan is going to update the right stuff when he gets to it.  there is no sr required on GTK specific stuff in gtkmozembed.  If you want, you can land this patch, or I can.
(In reply to comment #10)
> marco is the owner of the gtkmozembed code.  brendan is going to update the
> right stuff when he gets to it.

Ah, ok. Thanks for the update.

> there is no sr required on GTK specific stuff
> in gtkmozembed.  If you want, you can land this patch, or I can.

As this code is part of the build of Firefox (my Linux build definitely builds gtkmozembed), it will need approval first before it can be landed, but I'll be glad to land it once it has approval.
Status: NEW → ASSIGNED
Attachment #296143 - Flags: approval1.9?
This code was backed out by me a few weeks ago.  I thought that there was a blanket a=, but lets ask anyway.
Flags: blocking1.9?
Comment on attachment 296143 [details] [diff] [review]
Fixed indentation

yep a+ let's make the paperwork match the reality.
Attachment #296143 - Flags: approval1.9? → approval1.9+
Keywords: checkin-needed
Attachment #296143 - Attachment is obsolete: true
Checking in embedding/browser/gtk/src/EmbedContentListener.cpp;
/cvsroot/mozilla/embedding/browser/gtk/src/EmbedContentListener.cpp,v  <--  EmbedContentListener.cpp
new revision: 1.27; previous revision: 1.26
done
Checking in embedding/browser/gtk/src/EmbedEventListener.cpp;
/cvsroot/mozilla/embedding/browser/gtk/src/EmbedEventListener.cpp,v  <--  EmbedEventListener.cpp
new revision: 1.18; previous revision: 1.17
done
Checking in embedding/browser/gtk/src/EmbedProgress.cpp;
/cvsroot/mozilla/embedding/browser/gtk/src/EmbedProgress.cpp,v  <--  EmbedProgress.cpp
new revision: 1.26; previous revision: 1.25
done
Checking in embedding/browser/gtk/src/EmbedWindow.cpp;
/cvsroot/mozilla/embedding/browser/gtk/src/EmbedWindow.cpp,v  <--  EmbedWindow.cpp
new revision: 1.43; previous revision: 1.42
done
Checking in embedding/browser/gtk/src/EmbedWindowCreator.cpp;
/cvsroot/mozilla/embedding/browser/gtk/src/EmbedWindowCreator.cpp,v  <--  EmbedWindowCreator.cpp
new revision: 1.14; previous revision: 1.13
done
Checking in embedding/browser/gtk/src/gtkmozembed.h;
/cvsroot/mozilla/embedding/browser/gtk/src/gtkmozembed.h,v  <--  gtkmozembed.h
new revision: 1.47; previous revision: 1.46
done
Checking in embedding/browser/gtk/src/gtkmozembed2.cpp;
/cvsroot/mozilla/embedding/browser/gtk/src/gtkmozembed2.cpp,v  <--  gtkmozembed2.cpp
new revision: 1.64; previous revision: 1.63
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Summary: Killing GTK1, deprecated glib using → Killing GTK1, deprecated glib uses
Target Milestone: --- → mozilla1.9 M11
Flags: blocking1.9?
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: