Giter VIP home page Giter VIP logo

Comments (15)

rezso avatar rezso commented on August 28, 2024

I tried to compile this with gtk 2.24.22:

brightness-applet.c: In function 'gpm_applet_create_popup':
brightness-applet.c:660:42: error: lvalue required as left operand of assignment
GTK_WIDGET_UNSET_FLAGS (applet->popup, GTK_TOPLEVEL);

What is wrong?

from mate-power-manager.

raveit65 avatar raveit65 commented on August 28, 2024

did you build from git?

from mate-power-manager.

rezso avatar rezso commented on August 28, 2024

No. I tried to compile the released 1.8.0 package.

from mate-power-manager.

raveit65 avatar raveit65 commented on August 28, 2024

Try build with --disable-strict , normaly this is only needed for git builds.
For fedora rawhide the1.8.0 release builds fine, see
http://koji.fedoraproject.org/koji/buildinfo?buildID=502694

from mate-power-manager.

rezso avatar rezso commented on August 28, 2024

I compiled the 1.6 / 1.7 releases with --enable-strict option.
Now I removed this option, and I built it succesfully the 1.8.0 release.
Thank you for the suggestion.

from mate-power-manager.

stefano-k avatar stefano-k commented on August 28, 2024

@NiceandGently could we close this issue now?

from mate-power-manager.

raveit65 avatar raveit65 commented on August 28, 2024

I noticed the same issue is back with GTK3.

from mate-power-manager.

raveit65 avatar raveit65 commented on August 28, 2024

re-opend because it is broken with gtk3

from mate-power-manager.

rezso avatar rezso commented on August 28, 2024

I can compile it with this patch:
https://gist.github.com/rezso/9db8c4aa202790607f4b

from mate-power-manager.

raveit65 avatar raveit65 commented on August 28, 2024

@rezso
this is for gtk2 build ?

from mate-power-manager.

rezso avatar rezso commented on August 28, 2024

@raveit65
No. This is for gtk2 and gtk3 build.
gtk_widget_set_can_focus is useable since gtk 2.18, mate-power-manager requires gtk2 2.24 or gtk3.

from mate-power-manager.

raveit65 avatar raveit65 commented on August 28, 2024

thx for clarifications, i did ask because i prepared a more extended patch yet :)
https://dl.dropboxusercontent.com/u/49862637/Mate-desktop/Bugs/mate-power-manager_fix-brightness-applet-new.patch
.......more than 1 way to rome......

from mate-power-manager.

rezso avatar rezso commented on August 28, 2024

Your patch made for mouse clicks, mine is simple build fix for #62 (comment).

from mate-power-manager.

raveit65 avatar raveit65 commented on August 28, 2024

I know what my patch was made for, but you did't say for what your patch is good for.....
Header is not about using --strict or not.
Anyways, i will include your suggestion

from mate-power-manager.

raveit65 avatar raveit65 commented on August 28, 2024

hmm, with your patch the brightness slider isn't selectable again with gtk2 build.

from mate-power-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.