Skip to content

Commit

Permalink
use using instead of typedef
Browse files Browse the repository at this point in the history
  • Loading branch information
lidaobing committed Dec 3, 2022
1 parent 6ea63e1 commit cd1f016
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
24 changes: 11 additions & 13 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"/Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/include",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include",
"/Library/Developer/CommandLineTools/usr/include",
"/opt/homebrew/Cellar/atk/2.36.0/include/atk-1.0",
"/opt/homebrew/opt/atk/include/atk-1.0",
"/opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo",
"/opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo",
"/opt/homebrew/Cellar/fontconfig/2.13.1/include",
Expand Down Expand Up @@ -61,27 +61,25 @@
"${workspaceFolder}/builddir/src",
"${workspaceFolder}/src/googletest/include",
"/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1",
"/Library/Developer/CommandLineTools/usr/lib/clang/12.0.5/include",
"/Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include",
"/Library/Developer/CommandLineTools/usr/include",
"/opt/homebrew/Cellar/atk/2.36.0/include/atk-1.0",
"/opt/homebrew/opt/atk/include/atk-1.0",
"/opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo",
"/opt/homebrew/Cellar/cairo/1.16.0_5/include/cairo",
"/opt/homebrew/Cellar/fontconfig/2.13.1/include",
"/opt/homebrew/opt/fontconfig/include",
"/opt/homebrew/opt/fribidi/include/fribidi",
"/opt/homebrew/opt/glog/include",
"/opt/homebrew/Cellar/graphite2/1.3.14/include",
"/opt/homebrew/opt/gtk-mac-integration/include/",
"/opt/homebrew/Cellar/jsoncpp/1.9.4_1/include",
"/opt/homebrew/opt/jsoncpp/include",
"/opt/homebrew/opt/libepoxy/include",
"/opt/homebrew/opt/libffi/include",
"/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16",
"/opt/homebrew/opt/libpng/include/libpng16",
"/opt/homebrew/opt/libx11/include",
"/opt/homebrew/Cellar/libxau/1.0.9/include",
"/opt/homebrew/Cellar/libxcb/1.14_1/include",
"/opt/homebrew/Cellar/libxcb/1.14_1/include",
"/opt/homebrew/Cellar/libxdmcp/1.1.3/include",
"/opt/homebrew/Cellar/libxext/1.3.4/include",
"/opt/homebrew/opt/libxau/include",
"/opt/homebrew/opt/libxcb/include",
"/opt/homebrew/opt/libxdmcp/include",
"/opt/homebrew/opt/libxext/include",
"/opt/homebrew/Cellar/libxrender/0.9.10/include",
"/opt/homebrew/opt/pcre/include",
"/opt/homebrew/Cellar/pixman/0.40.0/include/pixman-1",
Expand All @@ -100,7 +98,7 @@
],
"defines": [],
"macFrameworkPath": [
"/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/Frameworks"
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks"
],
"compilerPath": "/usr/bin/clang",
"cStandard": "c11",
Expand Down
2 changes: 1 addition & 1 deletion src/iptux/ShareFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

namespace iptux {

typedef GtkDialog ShareFile;
using ShareFile = GtkDialog;
ShareFile* shareFileNew(Application* app);
void shareFileRun(ShareFile* dialog, GtkWindow* parent);

Expand Down

0 comments on commit cd1f016

Please sign in to comment.