After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 750312 - cleanup patches before adding tiling support
cleanup patches before adding tiling support
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Display
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Debarshi Ray
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-06-03 00:49 UTC by Dave Airlie
Modified: 2015-06-15 14:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
split some code out into a comon function (7.29 KB, patch)
2015-06-03 00:51 UTC, Dave Airlie
none Details | Review
use correctly typed pointer, just a small cleanup (1022 bytes, patch)
2015-06-03 00:51 UTC, Dave Airlie
committed Details | Review
split some code out into a common function (v2) (7.60 KB, patch)
2015-06-11 02:30 UTC, Dave Airlie
committed Details | Review

Description Dave Airlie 2015-06-03 00:49:56 UTC
I've got a couple of display panel cleanups I'd like to get in before the tiling support.
Comment 1 Dave Airlie 2015-06-03 00:51:27 UTC
Created attachment 304463 [details] [review]
split some code out into a comon function

this will looks cleaner and should making adding tiling easier.
Comment 2 Dave Airlie 2015-06-03 00:51:55 UTC
Created attachment 304464 [details] [review]
use correctly typed pointer, just a small cleanup
Comment 3 Rui Matos 2015-06-09 14:59:21 UTC
Review of attachment 304463 [details] [review]:

looks like a good cleanup otherwise, thanks

::: panels/display/cc-display-panel.c
@@ +537,3 @@
       gtk_container_set_border_width (GTK_CONTAINER (item), 12);
 
+      get_geometry (output_info, &x, &y, &width, &height);

hmm, we were not (and still aren't) using any of these variables here, just remove them please
Comment 4 Rui Matos 2015-06-09 14:59:25 UTC
Review of attachment 304464 [details] [review]:

sure
Comment 5 Dave Airlie 2015-06-11 02:30:28 UTC
Created attachment 305038 [details] [review]
split some code out into a common function (v2)

okay updated with removing the useless get_geometry call.
Comment 6 Debarshi Ray 2015-06-11 11:16:17 UTC
Review of attachment 305038 [details] [review]:

Looks good to me. Thanks, Dave. Could you please add the URL to this bug to the end of your commit message before pushing?
Comment 7 Dave Airlie 2015-06-11 23:24:03 UTC
I don't have GNOME git access, so I require maintainers to push patches.
Comment 8 Debarshi Ray 2015-06-15 14:16:50 UTC
Comment on attachment 305038 [details] [review]
split some code out into a common function (v2)

Pushed to master.
Comment 9 Debarshi Ray 2015-06-15 14:19:13 UTC
Comment on attachment 304464 [details] [review]
use correctly typed pointer, just a small cleanup

Pushed to master.