Killing GTK1, deprecated glib uses

RESOLVED FIXED in mozilla1.9beta3

Status

Core Graveyard
Embedding: GTK Widget
RESOLVED FIXED
10 years ago
6 years ago

People

(Reporter: romaxa, Assigned: romaxa)

Tracking

Trunk
mozilla1.9beta3
x86
Linux

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 3 obsolete attachments)

(Assignee)

Description

10 years ago
I guess would be better to remove all GTK1(MOZ_WIDGET_GTK) code,
MOZ_WIDGET_GTK2 defines, and deprecated gtk/glib functionality
(Assignee)

Comment 2

10 years ago
Created attachment 293674 [details] [diff] [review]
Deprecated glib functions

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
(Assignee)

Updated

10 years ago
Blocks: 408238
(Assignee)

Comment 3

10 years ago
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
(Assignee)

Comment 4

10 years ago
Christian, if you have any additions to the second patch put your updates..
(Assignee)

Updated

10 years ago
Attachment #293674 - Flags: review?(dougt)

Comment 5

10 years ago
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?
(Assignee)

Comment 6

10 years ago
Created attachment 296143 [details] [diff] [review]
Fixed indentation

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 7

10 years ago
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+

Updated

10 years ago
Attachment #296143 - Flags: superreview?(benjamin)

Comment 8

10 years ago
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

Comment 10

10 years ago
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?

Comment 12

10 years ago
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 13

10 years ago
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
Created attachment 296596 [details] [diff] [review]
unbitrotten patch with nit addressed
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
Last Resolved: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Summary: Killing GTK1, deprecated glib using → Killing GTK1, deprecated glib uses
Target Milestone: --- → mozilla1.9 M11

Updated

9 years ago
Flags: blocking1.9?
Component: Embedding: GTK Widget → Embedding: GTK Widget
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.